aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2018-07-02 09:14:00 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2018-07-02 09:14:00 +0000
commit294b242d80056628fe81fbd315e21b4e47c3ac67 (patch)
treef832371b0ec05495782a12cc27ef29d27843ae9a /sbin
parent6130efe45803267abd4fb5b9f24b327121ca2ed8 (diff)
downloadsrc-294b242d80056628fe81fbd315e21b4e47c3ac67.tar.gz
src-294b242d80056628fe81fbd315e21b4e47c3ac67.zip
Allow three digits of module id without breaking table alignment.
Notes
Notes: svn path=/head/; revision=335860
Diffstat (limited to 'sbin')
-rw-r--r--sbin/kldstat/kldstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/kldstat/kldstat.c b/sbin/kldstat/kldstat.c
index b2f12d22dd5c..38918890b879 100644
--- a/sbin/kldstat/kldstat.c
+++ b/sbin/kldstat/kldstat.c
@@ -55,10 +55,10 @@ printmod(int modid)
warn("can't stat module id %d", modid);
else
if (showdata) {
- printf("\t\t%2d %s (%d, %u, 0x%lx)\n", stat.id, stat.name,
+ printf("\t\t%3d %s (%d, %u, 0x%lx)\n", stat.id, stat.name,
stat.data.intval, stat.data.uintval, stat.data.ulongval);
} else {
- printf("\t\t%2d %s\n", stat.id, stat.name);
+ printf("\t\t%3d %s\n", stat.id, stat.name);
}
}
@@ -90,7 +90,7 @@ printfile(int fileid, int verbose, int humanized)
if (verbose) {
printf(" (%s)\n", stat.pathname);
printf("\tContains modules:\n");
- printf("\t\tId Name\n");
+ printf("\t\t Id Name\n");
for (modid = kldfirstmod(fileid); modid > 0;
modid = modfnext(modid))
printmod(modid);