* 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:
Vladimir 'phcoder' Serbinenko committed 2010-09-19 22:05:48 +02:00
1 parent d6d94820b5
commit 9af6dac30d
6 files changed
+22 -6

No files matched your search

+2 -2
View File
@@ -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;