commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[1860] 2008-09-08 Robert Millan <address@hidden>


From: Robert Millan
Subject: [1860] 2008-09-08 Robert Millan <address@hidden>
Date: Mon, 08 Sep 2008 14:00:29 +0000

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  <address@hidden>

        * 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  <address@hidden>
 
+       * 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  <address@hidden>
+
        * 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)
       {






reply via email to

[Prev in Thread] Current Thread [Next in Thread]