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

Re: [Xen-devel] [PATCH 4/5] libxl: claim: Print the values in 'xl info' unconditionally

On Mon, 2013-05-13 at 11:22 +0100, Ian Campbell wrote:
> For reason I don't understand this seems to cause the 32-bit build to
> fail with:
>         xl_cmdimpl.c: In function âoutput_physinfoâ:
>         xl_cmdimpl.c:4607:5: error: format â%ldâ expects argument of type 
> âlong intâ, but argument 2 has type âuint64_tâ [-Werror=format]
>         cc1: all warnings being treated as errors
> But given that you've changed neither the format string nor the types
> involved I've no idea why...

Ah, this was actually "hypervisor/xen/tools: Remove the
XENMEM_get_oustanding_pages and provide ..." which changed the value
being printed from an unsigned long to a uint64_t. Can you switch to
PRIu64 please.


Xen-devel mailing list



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