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.
This commit is contained in:
robertmh 2008-09-08 14:00:29 +00:00
parent ddbf5556a7
commit 40da438f10
2 changed files with 8 additions and 1 deletions

View File

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

View 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)
{