[1860] 2008-09-08 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1860
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1860
Author:   robertmh
Date:     2008-09-08 14:00:29 +0000 (Mon, 08 Sep 2008)

Log Message:
-----------
2008-09-08  Robert Millan  <[email protected]>

        * 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.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/hostdisk.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2008-09-08 13:52:30 UTC (rev 1859)
+++ trunk/grub2/ChangeLog	2008-09-08 14:00:29 UTC (rev 1860)
@@ -1,5 +1,11 @@
 2008-09-08  Robert Millan  <[email protected]>
 
+	* 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  <[email protected]>
+
 	* include/grub/util/biosdisk.h: Move to ...
 	* include/grub/util/hostdisk.h: ... here.  Update all users.
 	* util/biosdisk.c: Move to ...

Modified: trunk/grub2/util/hostdisk.c
===================================================================
--- trunk/grub2/util/hostdisk.c	2008-09-08 13:52:30 UTC (rev 1859)
+++ trunk/grub2/util/hostdisk.c	2008-09-08 14:00:29 UTC (rev 1860)
@@ -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 @@
       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)
       {
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.