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

Adam Weinberger adamw at FreeBSD.org
Sat Mar 22 21:14:40 UTC 2014


>> (2014/03/21 @ 1627 EST): Andrey Chernov said, in 1.1K: <<
> On 22.03.2014 0:07, Andrey Chernov wrote:
> > /usr/src/usr.bin/netstat/route.c:333:7: error: format specifies type
> > 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long
> > long') [-Werror,-Wformat]
> >                     kread_counter((u_long )rt->rt_pksent));
> >                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> The whole expression is
>                 len = snprintf(buffer, sizeof(buffer), "%lu",
>                     kread_counter((u_long )rt->rt_pksent));
> 
> You can't print uint64_t kread_counter() using %lu on i386.
>> 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 <<

Can somebody maybe merge r262819? 10-STABLE is unbuildable on i386 right
now.

# Adam


--
Adam Weinberger
adamw at adamw.org
http://www.adamw.org


More information about the svn-src-all mailing list