summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-09-15 21:00:52 +0200
committerAlexander Graf <agraf@suse.de>2018-09-23 21:55:30 +0200
commite10203864156ff7c31cae101448b4bcaf7dba58f (patch)
treee6c53238b1ef9169ada58687e2f1e6fbcf7371cb /lib
parentd3dce35aabf1a0f3359c1129cc668850c00f95ea (diff)
efi_selftest: missing braces in efi_selftest_textinputex.c
gcc 4.8.4 wants to see all levels of braces when initializing a structure to zeros. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_selftest/efi_selftest_textinputex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_selftest/efi_selftest_textinputex.c b/lib/efi_selftest/efi_selftest_textinputex.c
index d20d8ad89d..de44224ce1 100644
--- a/lib/efi_selftest/efi_selftest_textinputex.c
+++ b/lib/efi_selftest/efi_selftest_textinputex.c
@@ -116,7 +116,7 @@ static int teardown(void)
*/
static int execute(void)
{
- struct efi_key_data input_key = {0,};
+ struct efi_key_data input_key = { {0, 0}, {0, 0} };
efi_status_t ret;
efi_uintn_t index;