* grub-core/term/at_keyboard.c (fetch_key): Make a printf on

unknown key into a dprintf.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-05-09 19:33:03 +02:00
parent dd94a3df9d
commit 9c9bfc6de9
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/at_keyboard.c (fetch_key): Make a printf on
unknown key into a dprintf.
2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Don't abort

View file

@ -431,11 +431,11 @@ fetch_key (int *is_break)
if (!ret)
{
if (was_ext)
grub_printf ("Unknown key 0xe0+0x%02x from set %d\n",
at_key, current_set);
grub_dprintf ("atkeyb", "Unknown key 0xe0+0x%02x from set %d\n",
at_key, current_set);
else
grub_printf ("Unknown key 0x%02x from set %d\n",
at_key, current_set);
grub_dprintf ("atkeyb", "Unknown key 0x%02x from set %d\n",
at_key, current_set);
return -1;
}
return ret;