]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-09-08 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Mon, 8 Sep 2008 14:00:29 +0000 (14:00 +0000)
committerrobertmh <robertmh@localhost>
Mon, 8 Sep 2008 14:00:29 +0000 (14:00 +0000)
        * util/hostdisk.c (open_device): Replace a grub_util_info() call
        with grub_dprintf("hostdisk", ...), as it was so verbose that it
        clobbered useful information.

ChangeLog
util/hostdisk.c

index 43a35afe56fba577d345796da4a5c40c2910710c..e78d3eeaf512402bbfafa8f1f94a79c283245a14 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-08  Robert Millan  <rmh@aybabtu.com>
+
+       * util/hostdisk.c (open_device): Replace a grub_util_info() call
+       with grub_dprintf("hostdisk", ...), as it was so verbose that it
+       clobbered useful information.
+
 2008-09-08  Robert Millan  <rmh@aybabtu.com>
 
        * include/grub/util/biosdisk.h: Move to ...
index 5465cb0581bac09c8e34d5fb6e7959a8daf8edf3..5f6c52f0f63c7861bb1c53d4db968810d05f8cd3 100644 (file)
@@ -24,6 +24,7 @@
 #include <grub/err.h>
 #include <grub/util/misc.h>
 #include <grub/util/biosdisk.h>
+#include <grub/misc.h>
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -312,7 +313,7 @@ open_device (const grub_disk_t disk, grub_disk_addr_t sector, int flags)
       is_partition = linux_find_partition (dev, disk->partition->start);
     
     /* Open the partition.  */
-    grub_util_info ("opening the device `%s' in open_device()", dev);
+    grub_dprintf ("hostdisk", "opening the device `%s' in open_device()", dev);
     fd = open (dev, flags);
     if (fd < 0)
       {