aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-05-26 05:15:07 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-05-26 05:15:07 +0000
commit73d1ecdc9896b01c73d21759a1733fb83ac20f95 (patch)
tree186494039f9049e212bec889c60d4643ca289c57 /sbin
parent5ab39b65524e4bc6f40018dd90d1ebdb86dc6a66 (diff)
downloadsrc-73d1ecdc9896b01c73d21759a1733fb83ac20f95.tar.gz
src-73d1ecdc9896b01c73d21759a1733fb83ac20f95.zip
kldstat: align "Size" to the right
This change also makes alignment and spacing an explicit number rather than a bunch of spaces. Reviewed by: mmacy Requested by: Yuri Pankov <yuripv@yuripv.net>
Notes
Notes: svn path=/head/; revision=334236
Diffstat (limited to 'sbin')
-rw-r--r--sbin/kldstat/kldstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/kldstat/kldstat.c b/sbin/kldstat/kldstat.c
index 402d95e067a4..c201c6202465 100644
--- a/sbin/kldstat/kldstat.c
+++ b/sbin/kldstat/kldstat.c
@@ -190,9 +190,9 @@ main(int argc, char** argv)
}
if (humanized)
- printf("Id Refs Address%*c Size Name\n", POINTER_WIDTH - 7, ' ');
+ printf("Id Refs Address%*c %5s Name\n", POINTER_WIDTH - 7, ' ', "Size");
else
- printf("Id Refs Address%*c Size Name\n", POINTER_WIDTH - 7, ' ');
+ printf("Id Refs Address%*c %8s Name\n", POINTER_WIDTH - 7, ' ', "Size");
if (fileid != 0)
printfile(fileid, verbose, humanized);
else