[libvirt] [PATCH] Avoid PRIuMAX constant in domain events example

Eric Blake eblake at redhat.com
Fri May 17 16:12:24 UTC 2013


On 05/17/2013 10:05 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The domain events example program uses asprintf() to avoid
> portability problems with %llu in one place, but not in
> another place. Make all places use asprintf() instead and
> thus avoid need to use PRIuMAX
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  examples/domain-events/events-c/event-test.c | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)

ACK.  It's a hack, but lets you compile which is progress while I still
work on the gnulib side of things.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130517/da5b3e67/attachment-0001.sig>


More information about the libvir-list mailing list