2006-10-27 Hollis Blanchard <hollis@penguinppc.org>
* kern/disk.c (grub_disk_read): Correct debug printf formatting.
This commit is contained in:
parent
69203a9992
commit
6750754922
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-10-27 Hollis Blanchard <hollis@penguinppc.org>
|
||||
|
||||
* kern/disk.c (grub_disk_read): Correct debug printf formatting.
|
||||
|
||||
2006-10-27 Hollis Blanchard <hollis@penguinppc.org>
|
||||
|
||||
* kern/disk.c (grub_disk_open): Print debug messages when opening a
|
||||
|
|
|
@ -363,7 +363,8 @@ grub_disk_read (grub_disk_t disk, grub_disk_addr_t sector,
|
|||
if (grub_disk_check_range (disk, §or, &offset, size) != GRUB_ERR_NONE)
|
||||
{
|
||||
grub_error_push ();
|
||||
grub_dprintf ("disk", "Read out of range: sector 0x%lx.\n", sector);
|
||||
grub_dprintf ("disk", "Read out of range: sector 0x%llx.\n",
|
||||
(unsigned long long) sector);
|
||||
grub_error_pop ();
|
||||
return grub_errno;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue