Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/usr.bin/stat
On Wed, Nov 24, 2010 at 11:11:36PM +0000, Christos Zoulas wrote:
> >- (void)snprintf(tmp, sizeof(tmp), "%dd", prec > 9 ? 9 : prec);
> >+ (void)snprintf(tmp, sizeof(tmp), "%dld", prec > 9 ? 9 : prec);
>
> perhaps %dlld?
Nope, that's the nsecs, which are "long".
I'm sort of inclined to rework the whole thing to make it clearer, but
I'm not sure it'd actually be an improvement.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index