diff options
author | jhb <jhb@FreeBSD.org> | 2008-02-28 17:49:23 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-02-28 17:49:23 +0000 |
commit | ca134b8a3438ba8668c0915a727f8d0418d74e9e (patch) | |
tree | 1908f4d66aa1bb51923d5b71c511625e0bac84c3 /lib/libc/regex/engine.c | |
parent | 0247edab67050d66c379a8c0d5ef1c5b932fcad8 (diff) | |
download | FreeBSD-src-ca134b8a3438ba8668c0915a727f8d0418d74e9e.zip FreeBSD-src-ca134b8a3438ba8668c0915a727f8d0418d74e9e.tar.gz |
Tweak the verbose disk printing a bit:
- Consolidate the code to humanize the size of a disk partition into a
single function based on the code for GPT partitions and use it for
GPT partitions, BSD slices, and BSD partitions.
- Teach the humanize code to use KB for small partitions (e.g. GPT boot
partitions now show up as 64KB rather than 0MB).
- Pad a few partition type names out so that things line up in the
common case.
MFC after: 1 week
Diffstat (limited to 'lib/libc/regex/engine.c')
0 files changed, 0 insertions, 0 deletions