* grub-core/disk/ahci.c (grub_ahci_readwrite_real): Use proper

definitions for dprintf.
	* grub-core/disk/pata.c (grub_pata_readwrite): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-06-27 08:43:13 +02:00
parent ca80309d32
commit 41bec7fec9
3 changed files with 10 additions and 2 deletions

View file

@ -156,7 +156,8 @@ grub_pata_readwrite (struct grub_ata *disk,
parms->taskfile.cmd,
parms->taskfile.features,
parms->taskfile.sectors);
grub_dprintf ("pata", "lba_high=0x%x, lba_mid=0x%x, lba_low=0x%x, size=%d\n",
grub_dprintf ("pata", "lba_high=0x%x, lba_mid=0x%x, lba_low=0x%x, size=%"
PRIuGRUB_SIZE "\n",
parms->taskfile.lba_high,
parms->taskfile.lba_mid,
parms->taskfile.lba_low, parms->size);