diff options
author | pluknet <pluknet@FreeBSD.org> | 2011-06-30 09:20:26 +0000 |
---|---|---|
committer | pluknet <pluknet@FreeBSD.org> | 2011-06-30 09:20:26 +0000 |
commit | ced9bcf26f7e7107339e61b56b9ba7ceba6049ac (patch) | |
tree | 575265b5d6e4cdf5e24b18371edd3a23bd818157 /sys/geom/geom_disk.c | |
parent | 4fe845568de43a3a5da76d77483beffedbafa858 (diff) | |
download | FreeBSD-src-ced9bcf26f7e7107339e61b56b9ba7ceba6049ac.zip FreeBSD-src-ced9bcf26f7e7107339e61b56b9ba7ceba6049ac.tar.gz |
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
Diffstat (limited to 'sys/geom/geom_disk.c')
0 files changed, 0 insertions, 0 deletions