]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-07-27 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sun, 27 Jul 2008 20:57:43 +0000 (20:57 +0000)
committerrobertmh <robertmh@localhost>
Sun, 27 Jul 2008 20:57:43 +0000 (20:57 +0000)
        * disk/ata.c (grub_ata_dumpinfo): Use grub_dprintf() for debugging
        information.

ChangeLog
disk/ata.c

index 010e9d242dc5af62fd9c982cdce21d6e0c0bc436..f28b1455afa5177d35fdbb361c258c29e97c1f55 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-27  Robert Millan  <rmh@aybabtu.com>
+
+       * disk/ata.c (grub_ata_dumpinfo): Use grub_dprintf() for debugging
+       information.
+
 2008-07-27  Bean  <bean123ch@gmail.com>
 
        * fs/fat.c (GRUB_FAT_MAXFILE): New constant.
index 7925fb8757b9ed24f86a6eaa1f6304fe5e47f742..919f51bbdf9539a6fdde883983cd881dee824190 100644 (file)
@@ -219,16 +219,16 @@ grub_ata_dumpinfo (struct grub_ata_device *dev, char *info)
 
   /* The device information was read, dump it for debugging.  */
   grub_ata_strncpy (text, info + 20, 20);
-  grub_printf ("Serial: %s\n", text);
+  grub_dprintf ("ata", "Serial: %s\n", text);
   grub_ata_strncpy (text, info + 46, 8);
-  grub_printf ("Firmware: %s\n", text);
+  grub_dprintf ("ata", "Firmware: %s\n", text);
   grub_ata_strncpy (text, info + 54, 40);
-  grub_printf ("Model: %s\n", text);
+  grub_dprintf ("ata", "Model: %s\n", text);
 
   if (! dev->atapi)
     {
-      grub_printf ("Addressing: %d\n", dev->addr);
-      grub_printf ("Sectors: %lld\n", dev->size);
+      grub_dprintf ("ata", "Addressing: %d\n", dev->addr);
+      grub_dprintf ("ata", "Sectors: %lld\n", dev->size);
     }
 }