svn commit: r263478 - in stable/10: share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netatalk sys/netinet sys/netinet6 sys/netipx sys/netpfil/pf sys/nfs usr.bin/netstat

Gleb Smirnoff glebius at FreeBSD.org
Sun Mar 23 06:11:38 UTC 2014


On Sat, Mar 22, 2014 at 05:14:29PM -0400, Adam Weinberger wrote:
A> >> (2014/03/21 @ 1627 EST): Andrey Chernov said, in 1.1K: <<
A> > On 22.03.2014 0:07, Andrey Chernov wrote:
A> > > /usr/src/usr.bin/netstat/route.c:333:7: error: format specifies type
A> > > 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long
A> > > long') [-Werror,-Wformat]
A> > >                     kread_counter((u_long )rt->rt_pksent));
A> > >                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A> > 
A> > The whole expression is
A> >                 len = snprintf(buffer, sizeof(buffer), "%lu",
A> >                     kread_counter((u_long )rt->rt_pksent));
A> > 
A> > You can't print uint64_t kread_counter() using %lu on i386.
A> >> end of "Re: svn commit: r263478 - in stable/10: share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netatalk sys/netinet sys/netinet6 sys/netipx sys/netpfil/pf sys/nfs usr.bin/netstat" from Andrey Chernov <<
A> 
A> Can somebody maybe merge r262819? 10-STABLE is unbuildable on i386 right
A> now.

I missed that one in the merge queue, sorry. It is merged now.

I am investigating the counter.h breakage.

-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list