summaryrefslogtreecommitdiff
path: root/sbin/kldstat/kldstat.c
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-07-01 07:57:28 +0000
committerPaul Saab <ps@FreeBSD.org>2000-07-01 07:57:28 +0000
commit61c3dd35ce051c1287f657e26df73efd349901c1 (patch)
treedde549367735d7052b345765f52543d73a9cc928 /sbin/kldstat/kldstat.c
parent64566a3e2ab2e0c5a7597e4a777e31d397fbfb91 (diff)
downloadsrc-test2-61c3dd35ce051c1287f657e26df73efd349901c1.tar.gz
src-test2-61c3dd35ce051c1287f657e26df73efd349901c1.zip
Notes
Diffstat (limited to 'sbin/kldstat/kldstat.c')
-rw-r--r--sbin/kldstat/kldstat.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/kldstat/kldstat.c b/sbin/kldstat/kldstat.c
index cc3508fc0d60..58c5388e5312 100644
--- a/sbin/kldstat/kldstat.c
+++ b/sbin/kldstat/kldstat.c
@@ -53,8 +53,7 @@ printmod(int modid)
if (modstat(modid, &stat) < 0)
warn("can't stat module id %d", modid);
else
- printf("\t\t%2d %2d 0x%-8x %s\n",
- stat.id, stat.refs, stat.version, stat.name);
+ printf("\t\t%2d %s\n", stat.id, stat.name);
}
static void printfile(int fileid, int verbose)
@@ -71,7 +70,7 @@ static void printfile(int fileid, int verbose)
if (verbose) {
printf("\tContains modules:\n");
- printf("\t\tId Refs Version%*c Name\n", POINTER_WIDTH - 7, ' ');
+ printf("\t\tId Name\n");
for (modid = kldfirstmod(fileid); modid > 0;
modid = modfnext(modid))
printmod(modid);