>> (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
ad...@adamw.org
http://www.adamw.org
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to