diff --git a/ChangeLog b/ChangeLog index 2ab4f285e..96122216f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-01 Robert Millan + + * kern/disk.c (grub_disk_read, grub_disk_write): Add grub_dprintf() + call at beginning of function. + 2008-01-31 Pavel Roskin * util/powerpc/ieee1275/grub-mkrescue.in: New file. diff --git a/kern/disk.c b/kern/disk.c index 08389b9d2..afbdbb05d 100644 --- a/kern/disk.c +++ b/kern/disk.c @@ -360,6 +360,8 @@ grub_disk_read (grub_disk_t disk, grub_disk_addr_t sector, { char *tmp_buf; unsigned real_offset; + + grub_dprintf ("disk", "Reading `%s'...\n", disk->name); /* First of all, check if the region is within the disk. */ if (grub_disk_check_range (disk, §or, &offset, size) != GRUB_ERR_NONE) @@ -498,6 +500,8 @@ grub_disk_write (grub_disk_t disk, grub_disk_addr_t sector, { unsigned real_offset; + grub_dprintf ("disk", "Writing `%s'...\n", disk->name); + if (grub_disk_check_range (disk, §or, &offset, size) != GRUB_ERR_NONE) return -1;