diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index 27f078d..f49be9f 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -791,7 +791,7 @@ static int ahci_populate_sglist(AHCIDevice *ad, QEMUSGList *sglist, } if ((off_idx == -1) || (off_pos < 0) || (off_pos > tbl_entry_size)) { DPRINTF(ad->port_no, "%s: Incorrect offset! " - "off_idx: %d, off_pos: %d\n", + "off_idx: %d, off_pos: %"PRId64"\n", __func__, off_idx, off_pos); r = -1; goto out;