[libvirt] [PATCH] virtlogd: use %llu to print 64bit types

Guido Günther agx at sigxcpu.org
Thu Nov 26 18:38:44 UTC 2015


On Thu, Nov 26, 2015 at 06:36:10PM +0000, Daniel P. Berrange wrote:
> On Thu, Nov 26, 2015 at 07:33:38PM +0100, Guido Günther wrote:
> > Otherwise we fail on 32bit with:
> > 
> > CC     logging/virtlogd-log_daemon_dispatch.o
> > logging/log_daemon_dispatch.c: In function 'virLogManagerProtocolDispatchDomainReadLogFile':
> > logging/log_daemon_dispatch.c:120:9: error: format '%zu' expects argument of type 'size_t', but argument 7 has type 'uint64_t' [-Werror=format]
> > ---
> >  src/logging/log_daemon_dispatch.c | 5 +++--
> >  tests/virrotatingfiletest.c       | 5 +++--
> >  2 files changed, 6 insertions(+), 4 deletions(-)
> 
> ACK

Pushed. Sorry for the lengthy thread for such a tiny change.
 -- Guido




More information about the libvir-list mailing list