From: Jeroen Hofstee Date: Sun, 15 Jun 2014 22:17:33 +0000 (+0200) Subject: cosmetic: autoboot: update old style GNU struct init X-Git-Tag: v2014.07-rc4~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9e546ee9c90fc0a888423fa3269020fe736df7a3;p=oweals%2Fu-boot.git cosmetic: autoboot: update old style GNU struct init Signed-off-by: Jeroen Hofstee --- diff --git a/common/autoboot.c b/common/autoboot.c index dc24cae612..30102a47a8 100644 --- a/common/autoboot.c +++ b/common/autoboot.c @@ -40,10 +40,10 @@ static int abortboot_keyed(int bootdelay) int retry; } delaykey[] = { - { str: getenv("bootdelaykey"), retry: 1 }, - { str: getenv("bootdelaykey2"), retry: 1 }, - { str: getenv("bootstopkey"), retry: 0 }, - { str: getenv("bootstopkey2"), retry: 0 }, + { .str = getenv("bootdelaykey"), .retry = 1 }, + { .str = getenv("bootdelaykey2"), .retry = 1 }, + { .str = getenv("bootstopkey"), .retry = 0 }, + { .str = getenv("bootstopkey2"), .retry = 0 }, }; char presskey[MAX_DELAY_STOP_STR];