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>
goto err;
}
- DPRINTF("max_gpfn = %"PRIx64"\n", xenaccess->max_gpfn);
+ DPRINTF("max_gpfn = %"PRI_xen_pfn"\n", xenaccess->max_gpfn);
return xenaccess;