summaryrefslogtreecommitdiffstats
path: root/usr.bin/lsvfs
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-22 20:21:59 +0000
committerwollman <wollman@FreeBSD.org>1994-09-22 20:21:59 +0000
commit6d8ea83922c252abd036ee8cffc7547c8a49a7a3 (patch)
treee76f92a403a8d7fbdb268e9390fa582061430a69 /usr.bin/lsvfs
parentb0ac1d2e79f8f07631e4c7c977d07b04d8e0f335 (diff)
downloadFreeBSD-src-6d8ea83922c252abd036ee8cffc7547c8a49a7a3.zip
FreeBSD-src-6d8ea83922c252abd036ee8cffc7547c8a49a7a3.tar.gz
Fix compilation error and formatting mistake.
Diffstat (limited to 'usr.bin/lsvfs')
-rw-r--r--usr.bin/lsvfs/lsvfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lsvfs/lsvfs.c b/usr.bin/lsvfs/lsvfs.c
index 30ce386..db33bfb 100644
--- a/usr.bin/lsvfs/lsvfs.c
+++ b/usr.bin/lsvfs/lsvfs.c
@@ -12,7 +12,7 @@
#define FMT "%-32.32s %5d %5d %5d\n"
#define HDRFMT "%-32.32s %5.5s %5.5s %5.5s\n"
-#define DASHES "-------------------------------- ---- ---- ----\n"
+#define DASHES "-------------------------------- ----- ----- -----\n"
int
main(int argc, char **argv)
@@ -33,7 +33,7 @@ main(int argc, char **argv)
printf(FMT, vfc->vfc_name, vfc->vfc_index, vfc->vfc_refcount,
vfc->vfc_flags);
} else {
- warnx("VFS %s unknown or not loaded", name);
+ warnx("VFS %s unknown or not loaded", *argv);
rv++;
}
}
OpenPOWER on IntegriCloud