Date: Thu, 30 Jun 2011 09:20:26 +0000 (UTC) From: Sergey Kandaurov <pluknet@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/quota quota.c Message-ID: <201106300920.p5U9Kbr5024384@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pluknet 2011-06-30 09:20:26 UTC
FreeBSD src repository
Modified files:
usr.bin/quota quota.c
Log:
SVN rev 223690 on 2011-06-30 09:20:26Z by pluknet
Fix quota(1) output.
- Fix calculation of 1024-byte sized blocks from disk blocks shown when -h
option isn't specified. It was broken with quota64 integration.
- In prthumanval(): limit the size of a buffer passed to humanize_number()
to a width of 5 bytes but allow a shorter length if requested. That's what
users expect.
PR: bin/150151
Reviewed by: Kirk McKusick
Revision Changes Path
1.38 +11 -5 src/usr.bin/quota/quota.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106300920.p5U9Kbr5024384>
