diff options
author | bde <bde@FreeBSD.org> | 1995-05-07 07:48:35 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-05-07 07:48:35 +0000 |
commit | c22155de74af576ecb1f3a132137b5caf6b684a8 (patch) | |
tree | 06138be4e7e44daef40ea1981ec0b8fd629f9cc3 /usr.bin | |
parent | cc1303d7118430fde188a3f00cc06d257fe181d6 (diff) | |
download | FreeBSD-src-c22155de74af576ecb1f3a132137b5caf6b684a8.zip FreeBSD-src-c22155de74af576ecb1f3a132137b5caf6b684a8.tar.gz |
Cast some expressions involving dbtob() to (unsigned long) and print them
using %lu. This became more broken when I fixed dbtob() to support byte
offsets >= 4GB. The type had to change to [u]quad_t. Previously the
expressions had type unsigned long and were printed using %d. After
division by 1024, the expressions are guaranteed to fit in an unsigned
long, at least for the standard DEV_BSIZE, so edquota doesn't need to
know about quad_t's explicitly.
Fix all the other format mismatches exposed by compiling with -Wformat
(6 more quota limits of type unsigned long printed using %d and 6 time_t's
(i.e., longs) printed using %d).
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions