From 98bf45127946c563b08c847591b583e86c89ecc0 Mon Sep 17 00:00:00 2001 From: Chandramouli Narayanan Date: Thu, 26 Jan 2012 19:58:59 +0000 Subject: [PATCH] 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 Signed-off-by: Matt Fleming --- efi/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/efi/main.c b/efi/main.c index c3d609d17..5b92acd26 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 = {