[2127] 2009-04-17 Pavel Roskin <[email protected]>

Pavel Roskin <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2127
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2127
Author:   proski
Date:     2009-04-17 17:23:34 +0000 (Fri, 17 Apr 2009)
Log Message:
-----------
2009-04-17  Pavel Roskin  <[email protected]>

	* bus/usb/ohci.c (grub_ohci_transaction): Fix incorrect printf
	format.
	(grub_ohci_transfer): Likewise.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/bus/usb/ohci.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-04-17 17:09:36 UTC (rev 2126)
+++ trunk/grub2/ChangeLog	2009-04-17 17:23:34 UTC (rev 2127)
@@ -1,5 +1,9 @@
 2009-04-17  Pavel Roskin  <[email protected]>
 
+	* bus/usb/ohci.c (grub_ohci_transaction): Fix incorrect printf
+	format.
+	(grub_ohci_transfer): Likewise.
+
 	* bus/usb/usbtrans.c (grub_usb_control_msg): Warning fix.
 
 	* loader/multiboot_loader.c (grub_cmd_multiboot_loader): Fix

Modified: trunk/grub2/bus/usb/ohci.c
===================================================================
--- trunk/grub2/bus/usb/ohci.c	2009-04-17 17:09:36 UTC (rev 2126)
+++ trunk/grub2/bus/usb/ohci.c	2009-04-17 17:23:34 UTC (rev 2127)
@@ -233,9 +233,9 @@
   grub_uint32_t buffer;
   grub_uint32_t buffer_end;
 
- grub_dprintf ("ohci", "OHCI transaction td=0x%02x type=%d, toggle=%d, size=%d\n",
-	       td, type, toggle, size);
- 
+  grub_dprintf ("ohci", "OHCI transaction td=%p type=%d, toggle=%d, size=%d\n",
+		td, type, toggle, size);
+
   switch (type)
     {
     case GRUB_USB_TRANSFER_TYPE_SETUP:
@@ -295,7 +295,7 @@
       return GRUB_USB_ERR_INTERNAL;
     }
 
-  grub_dprintf ("ohci", "alloc=0x%08x\n", td_list);
+  grub_dprintf ("ohci", "alloc=%p\n", td_list);
 
   /* Setup all Transfer Descriptors.  */
   for (i = 0; i < transfer->transcnt; i++)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.