[syslinux:firmware] efi: Actually return a character in efi_getchar()
syslinux-bot for Chandramouli Narayanan
chandramouli.narayanan at intel.com
Fri Nov 9 09:06:13 PST 2012
Commit-ID: 98bf45127946c563b08c847591b583e86c89ecc0
Gitweb: http://www.syslinux.org/commit/98bf45127946c563b08c847591b583e86c89ecc0
Author: Chandramouli Narayanan <chandramouli.narayanan at intel.com>
AuthorDate: Thu, 26 Jan 2012 19:58:59 +0000
Committer: Matt Fleming <matt.fleming at intel.com>
CommitDate: Thu, 2 Feb 2012 16:12:22 +0000
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 at intel.com>
Signed-off-by: Matt Fleming <matt.fleming at intel.com>
---
efi/main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/efi/main.c b/efi/main.c
index c3d609d..5b92acd 100644
--- a/efi/main.c
+++ b/efi/main.c
@@ -242,6 +242,7 @@ char efi_getchar(void)
} while (status == EFI_NOT_READY);
c = (char)key.UnicodeChar;
+ return c;
}
struct input_ops efi_iops = {
More information about the Syslinux-commits
mailing list