[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH, resend] qemu: fix a format specifier



This addresses a compiler warning and makes the log entry meaningful
on 32-bit.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- 2009-11-30.orig/qemu/hw/pt-msi.c    2009-11-30 10:19:29.000000000 +0100
+++ 2009-11-30/qemu/hw/pt-msi.c 2009-11-30 10:42:44.000000000 +0100
@@ -585,7 +585,7 @@ int pt_msix_init(struct pt_dev *dev, int
         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,


Attachment: xen-qemu-pt-msi-warning.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.