diff --git a/ChangeLog b/ChangeLog index 43a35afe5..e78d3eeaf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-08 Robert Millan + + * 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 * include/grub/util/biosdisk.h: Move to ... diff --git a/util/hostdisk.c b/util/hostdisk.c index 5465cb058..5f6c52f0f 100644 --- a/util/hostdisk.c +++ b/util/hostdisk.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include @@ -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) {