* grub-core/bus/usb/ohci.c (grub_ohci_cancel_transfer): Use %p to
print pointer. * grub-core/bus/usb/uhci.c: Remove empty define. (grub_uhci_check_transfer): Add missing cast. * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Use %p to print pointer. * grub-core/term/usb_keyboard.c (grub_usb_keyboard_getkey): Use PRIuGRUB_SIZE. * include/grub/types.h (PRIuGRUB_SIZE): New definition.
This commit is contained in:
parent
d6d94820b5
commit
9af6dac30d
6 changed files with 22 additions and 6 deletions
|
@ -404,7 +404,8 @@ grub_usb_keyboard_getkey (struct grub_term_input *term)
|
|||
termdata->last_key = -1;
|
||||
|
||||
grub_dprintf ("usb_keyboard",
|
||||
"err = %d, actual = %d report: 0x%02x 0x%02x 0x%02x 0x%02x"
|
||||
"err = %d, actual = %" PRIuGRUB_SIZE
|
||||
" report: 0x%02x 0x%02x 0x%02x 0x%02x"
|
||||
" 0x%02x 0x%02x 0x%02x 0x%02x\n",
|
||||
err, actual,
|
||||
termdata->current_report[0], termdata->current_report[1],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue