diff options
author | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2018-08-25 00:12:15 +0000 |
---|---|---|
committer | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2018-08-25 00:12:15 +0000 |
commit | ebe752276c8af29818c0c11ab6bab7284c003056 (patch) | |
tree | 927d9d76b8feb0a1dd4ef79d48e45e31584a8f29 /sys/arch/arm64/stand/efiboot | |
parent | 87672fbd4974e24e1ba691a91a5373147fb764af (diff) |
Don't treat UnicodeChar == 0 as a keyboard input. The same fix was
done on amd64 already. Original diff from Frank Groeneveld
ok tb patrick
Diffstat (limited to 'sys/arch/arm64/stand/efiboot')
-rw-r--r-- | sys/arch/arm64/stand/efiboot/efiboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/stand/efiboot/efiboot.c b/sys/arch/arm64/stand/efiboot/efiboot.c index 3f335f0e7ac..4dc9d7e32fa 100644 --- a/sys/arch/arm64/stand/efiboot/efiboot.c +++ b/sys/arch/arm64/stand/efiboot/efiboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efiboot.c,v 1.20 2018/08/23 15:31:12 patrick Exp $ */ +/* $OpenBSD: efiboot.c,v 1.21 2018/08/25 00:12:14 yasuoka Exp $ */ /* * Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net> @@ -129,7 +129,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); /* |