* 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
|
@ -350,8 +350,8 @@ poll_nonroot_hub (grub_usb_device_t dev)
|
|||
GRUB_USB_REQ_GET_STATUS,
|
||||
0, i, sizeof (status), (char *) &status);
|
||||
|
||||
grub_printf ("dev = 0x%0x, i = %d, status = %08x\n",
|
||||
(unsigned int) dev, i, status);
|
||||
grub_printf ("dev = %p, i = %d, status = %08x\n",
|
||||
dev, i, status);
|
||||
|
||||
if (err)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue