Date: Sun, 7 May 1995 00:48:38 -0700 From: Bruce Evans <bde> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/edquota edquota.c Message-ID: <199505070748.AAA09307@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
bde 95/05/07 00:48:37 Modified: usr.sbin/edquota edquota.c Log: 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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505070748.AAA09307>