X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fautoboot.c;h=30102a47a8aefecf85ccd38984e054541bbe669a;hb=24289208354c143967968755cff5c825a12e3f90;hp=dc24cae61201c98dabd992a6344d2700e7e02fbf;hpb=55e8250bd3cfd996d1caa04f520160a89ec04754;p=u-boot 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];