Current-Users archive

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

Re: More problems with netstat/if.c



On Sun, Sep 13, 2009 at 03:43:54PM -0500, David Young wrote:
> > /build/netbsd-local/src/usr.bin/netstat/if.c:219: warning: format '%-5qu' 
> > expects type 'long long unsigned int', but argument 3 has type 'u_quad_t'
> 
> I suggest using the format string "%-5" PRIu64.

Except that the man page for printf says:

q (deprecated)    quad_t         u_quad_t              quad_t *

Perhaps that page ought also refer to the PRId32 etc names.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index