diff options
author | Chandramouli Narayanan <chandramouli.narayanan@intel.com> | 2012-01-26 19:58:59 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-02-02 16:12:22 +0000 |
commit | 98bf45127946c563b08c847591b583e86c89ecc0 (patch) | |
tree | 159e316a9752a661879a086fd1184908796fc980 | |
parent | 6bdefaddb67954b1426c9015c31b3405ba9059b8 (diff) | |
download | syslinux-98bf45127946c563b08c847591b583e86c89ecc0.tar.gz syslinux-98bf45127946c563b08c847591b583e86c89ecc0.tar.xz syslinux-98bf45127946c563b08c847591b583e86c89ecc0.zip |
efi: Actually return a character in efi_getchar()
Since efi_getchar() goes to the trouble of reading a character from
user input it should return it to the caller. Previously we were
returning garbage.
Signed-off-by: Chandramouli Narayanan <chandramouli.narayanan@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | efi/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -242,6 +242,7 @@ char efi_getchar(void) } while (status == EFI_NOT_READY); c = (char)key.UnicodeChar; + return c; } struct input_ops efi_iops = { |