Source-Changes archive

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

Re: CVS commit: src/usr.bin/netstat



On Sat, Aug 06, 2005 at 05:31:26AM +1000, matthew green wrote:
>    
>    ---
>    >          printf("%-8llu %-8llu %-8llu ", 
>    >                  (unsigned long long) BPFEXT(bde_rcount),
>    >                  (unsigned long long) BPFEXT(bde_dcount), 
>    >                  (unsigned long long) BPFEXT(bde_ccount));
> 
> %-8llu and unsigned long long?  why truncate to 33 bits?

That doesn't truncate, just left justify.
Big numbers will cause the columns (I presume) to get misalgned.

Why left justify though...

        David

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



Home | Main Index | Thread Index | Old Index