From: Ian Jackson Date: Fri, 8 Jan 2010 17:57:10 +0000 (+0000) Subject: passthrough: fix a printf format specifier X-Git-Tag: xen-4.0.0-rc1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3b531c2504c093ce716192e2abd410b418ae915a;p=qemu-xen-4.0-testing.git passthrough: fix a printf format specifier This addresses a compiler warning and makes the log entry meaningful on 32-bit. Signed-off-by: Jan Beulich --- diff --git a/hw/pt-msi.c b/hw/pt-msi.c index cd0783cd..a12917f0 100644 --- a/hw/pt-msi.c +++ b/hw/pt-msi.c @@ -585,7 +585,7 @@ int pt_msix_init(struct pt_dev *dev, int pos) PT_LOG("Error: Can't open /dev/mem: %s\n", strerror(errno)); goto error_out; } - PT_LOG("table_off = %llx, total_entries = %d\n",table_off,total_entries); + PT_LOG("table_off = %x, total_entries = %d\n", table_off, total_entries); dev->msix->table_offset_adjust = table_off & 0x0fff; dev->msix->phys_iomem_base = mmap(0, total_entries * 16 + dev->msix->table_offset_adjust, PROT_WRITE | PROT_READ, MAP_SHARED | MAP_LOCKED,