* grub-core/term/efi/console.c (efi_codes): Fix GRUB_TERM_KEY_*
constants usage. * grub-core/kern/emu/console.c (grub_ncurses_getkey): Fix GRUB_TERM_KEY_* constants usage. * grub-core/kern/emu/misc.c (asprintf): Fix vasprintf usage.
This commit is contained in:
parent
9af6dac30d
commit
39feb0e8f9
3 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2010-09-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/term/efi/console.c (efi_codes): Fix GRUB_TERM_KEY_*
|
||||||
|
constants usage.
|
||||||
|
* grub-core/kern/emu/console.c (grub_ncurses_getkey):
|
||||||
|
Fix GRUB_TERM_KEY_* constants usage.
|
||||||
|
* grub-core/kern/emu/misc.c (asprintf): Fix vasprintf usage.
|
||||||
|
|
||||||
2010-09-19 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-09-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/bus/usb/ohci.c (grub_ohci_cancel_transfer): Use %p to
|
* grub-core/bus/usb/ohci.c (grub_ohci_cancel_transfer): Use %p to
|
||||||
|
|
|
@ -174,7 +174,7 @@ asprintf (char **buf, const char *fmt, ...)
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
va_start (ap, fmt);
|
va_start (ap, fmt);
|
||||||
status = vasprintf (*buf, fmt, ap);
|
status = vasprintf (buf, fmt, ap);
|
||||||
va_end (ap);
|
va_end (ap);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
|
|
@ -103,9 +103,9 @@ grub_console_putchar (struct grub_term_output *term __attribute__ ((unused)),
|
||||||
|
|
||||||
const unsigned efi_codes[] =
|
const unsigned efi_codes[] =
|
||||||
{
|
{
|
||||||
0, GRUB_TERM_UP, GRUB_TERM_DOWN, GRUB_TERM_RIGHT,
|
0, GRUB_TERM_KEY_UP, GRUB_TERM_KEY_DOWN, GRUB_TERM_KEY_RIGHT,
|
||||||
GRUB_TERM_LEFT, GRUB_TERM_HOME, GRUB_TERM_END, GRUB_TERM_KEY_INSERT,
|
GRUB_TERM_KEY_LEFT, GRUB_TERM_KEY_HOME, GRUB_TERM_KEY_END, GRUB_TERM_KEY_INSERT,
|
||||||
GRUB_TERM_DC, GRUB_TERM_KEY_PPAGE, GRUB_TERM_KEY_NPAGE, GRUB_TERM_KEY_F1,
|
GRUB_TERM_KEY_DC, GRUB_TERM_KEY_PPAGE, GRUB_TERM_KEY_NPAGE, GRUB_TERM_KEY_F1,
|
||||||
GRUB_TERM_KEY_F2, GRUB_TERM_KEY_F3, GRUB_TERM_KEY_F4, GRUB_TERM_KEY_F5,
|
GRUB_TERM_KEY_F2, GRUB_TERM_KEY_F3, GRUB_TERM_KEY_F4, GRUB_TERM_KEY_F5,
|
||||||
GRUB_TERM_KEY_F6, GRUB_TERM_KEY_F7, GRUB_TERM_KEY_F8, GRUB_TERM_KEY_F9,
|
GRUB_TERM_KEY_F6, GRUB_TERM_KEY_F7, GRUB_TERM_KEY_F8, GRUB_TERM_KEY_F9,
|
||||||
GRUB_TERM_KEY_F10, 0, 0, '\e'
|
GRUB_TERM_KEY_F10, 0, 0, '\e'
|
||||||
|
|
Loading…
Add table
Reference in a new issue