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

[Xen-devel] [PATCH] libxc: use PRI_xen_pfn in xc_dom_load_acpi



This fixes compilation on ARM.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
---
 tools/libxc/xc_dom_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libxc/xc_dom_core.c b/tools/libxc/xc_dom_core.c
index 5884cdb..5326d36 100644
--- a/tools/libxc/xc_dom_core.c
+++ b/tools/libxc/xc_dom_core.c
@@ -1113,7 +1113,7 @@ static int xc_dom_load_acpi(struct xc_dom_image *dom)
                                    PROT_READ | PROT_WRITE, base);
         if ( !ptr )
         {
-            DOMPRINTF("%s: Can't map %d pages at 0x%lx",
+            DOMPRINTF("%s: Can't map %d pages at 0x%"PRI_xen_pfn,
                       __FUNCTION__, num_pages, base);
             goto err;
         }
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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