xen_pt: Fix debug output.
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 10 Jan 2014 15:52:54 +0000 (15:52 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 17 Jan 2014 15:29:06 +0000 (15:29 +0000)
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
hw/xen/xen_pt.c

index d58cb616b1d5043c407f8f6006f0da6574503204..eee43541a4cb99a8b003fff2766fa58e56889af1 100644 (file)
@@ -420,8 +420,8 @@ static int xen_pt_register_regions(XenPCIPassthroughState *s)
                               "xen-pci-pt-bar", r->size);
         pci_register_bar(&s->dev, i, type, &s->bar[i]);
 
-        XEN_PT_LOG(&s->dev, "IO region %i registered (size=0x%lx"PRIx64
-                   " base_addr=0x%lx"PRIx64" type: %#x)\n",
+        XEN_PT_LOG(&s->dev, "IO region %i registered (size=0x%08"PRIx64
+                   " base_addr=0x%08"PRIx64" type: %#x)\n",
                    i, r->size, r->base_addr, type);
     }