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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]