]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
tools/xen-access: use PRI_xen_pfn
authorWei Liu <wei.liu2@citrix.com>
Thu, 3 Sep 2015 18:27:47 +0000 (19:27 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 4 Sep 2015 13:59:10 +0000 (14:59 +0100)
commitd9be0990fb8b34c30ca62d5e6a003ed73386f2e8
treed7a51340c25488c5b8ccc1268d1a676d100c82e8
parent0a7167d9b20cdc48e6ea320fbbb920b3267c9757
tools/xen-access: use PRI_xen_pfn

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.liu2@citrix.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
tools/tests/xen-access/xen-access.c