diff options
Diffstat (limited to 'sys/arch/armv7/stand/efiboot/efiboot.c')
-rw-r--r-- | sys/arch/armv7/stand/efiboot/efiboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/stand/efiboot/efiboot.c b/sys/arch/armv7/stand/efiboot/efiboot.c index 9d2768e196a..ebd8bbb7921 100644 --- a/sys/arch/armv7/stand/efiboot/efiboot.c +++ b/sys/arch/armv7/stand/efiboot/efiboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efiboot.c,v 1.22 2018/08/23 15:31:12 patrick Exp $ */ +/* $OpenBSD: efiboot.c,v 1.23 2018/08/25 00:12:14 yasuoka Exp $ */ /* * Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net> @@ -126,7 +126,7 @@ efi_cons_getc(dev_t dev) } status = conin->ReadKeyStroke(conin, &key); - while (status == EFI_NOT_READY) { + while (status == EFI_NOT_READY || key.UnicodeChar == 0) { if (dev & 0x80) return (0); /* |