* kern/disk.c (grub_disk_read): Correct debug printf formatting.
+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
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;
}