summaryrefslogtreecommitdiffstats
path: root/usr.bin/quota
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-05-07 07:48:35 +0000
committerbde <bde@FreeBSD.org>1995-05-07 07:48:35 +0000
commitc22155de74af576ecb1f3a132137b5caf6b684a8 (patch)
tree06138be4e7e44daef40ea1981ec0b8fd629f9cc3 /usr.bin/quota
parentcc1303d7118430fde188a3f00cc06d257fe181d6 (diff)
downloadFreeBSD-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/quota')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud