summaryrefslogtreecommitdiffstats
path: root/src/interface/efi/efi_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/efi/efi_console.c')
-rw-r--r--src/interface/efi/efi_console.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface/efi/efi_console.c b/src/interface/efi/efi_console.c
index df774e49..b78de618 100644
--- a/src/interface/efi/efi_console.c
+++ b/src/interface/efi/efi_console.c
@@ -224,7 +224,8 @@ static int efi_getchar ( void ) {
/* Read key from real EFI console */
if ( ( efirc = conin->ReadKeyStroke ( conin, &key ) ) != 0 ) {
- DBG ( "EFI could not read keystroke: %x\n", efirc );
+ DBG ( "EFI could not read keystroke: %s\n",
+ efi_strerror ( efirc ) );
return 0;
}
DBG2 ( "EFI read key stroke with unicode %04x scancode %04x\n",