diff options
author | bde <bde@FreeBSD.org> | 2002-05-25 11:05:07 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-05-25 11:05:07 +0000 |
commit | aa68d84998c8d1596cff8135490267fe5643d5dc (patch) | |
tree | 67ecb1f2e41e13012e63469ab4f80b525e08c393 /usr.bin/look | |
parent | a361c10d4b99d2c893b8032fdc0a4facb145240f (diff) | |
download | FreeBSD-src-aa68d84998c8d1596cff8135490267fe5643d5dc.zip FreeBSD-src-aa68d84998c8d1596cff8135490267fe5643d5dc.tar.gz |
Fixed printf format errors. Most of them are 64-bit daddr_t casualties.
Printing daddr_t's using %d format was always an error, but gcc's
warning about it was ignored for supported 64-bit arches and not printed
for supported 32-bit arches. Hundreds if not thousands thousands of
previously "fixed" daddr_t printings are now broken on 32-bit machines
by casting daddr_t's to longs. daddr_t's should be printed using %jd
format, but this fix uses %lld since %j is not implemented in the
kernel yet.
Fixed some nearby format printf errors (style bugs).
Diffstat (limited to 'usr.bin/look')
0 files changed, 0 insertions, 0 deletions