Otherwise when building with 32bit compiler, we get: xen-access.c: In function 'xenaccess_init': xen-access.c:263:5: error: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'xen_pfn_t' [-Werror=format] cc1: all warnings being treated as errors
Signed-off-by: Wei Liu <wei.l...@citrix.com> --- Cc: Razvan Cojocaru <rcojoc...@bitdefender.com> Cc: Tamas K Lengyel <ta...@tklengyel.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Ian Campbell <ian.campb...@citrix.com> --- tools/tests/xen-access/xen-access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tests/xen-access/xen-access.c b/tools/tests/xen-access/xen-access.c index cdb8f4e..a52ca6e 100644 --- a/tools/tests/xen-access/xen-access.c +++ b/tools/tests/xen-access/xen-access.c @@ -260,7 +260,7 @@ xenaccess_t *xenaccess_init(xc_interface **xch_r, domid_t domain_id) goto err; } - DPRINTF("max_gpfn = %"PRIx64"\n", xenaccess->max_gpfn); + DPRINTF("max_gpfn = %"PRI_xen_pfn"\n", xenaccess->max_gpfn); return xenaccess; -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel