summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-10-01 09:16:07 +0000
committered <ed@FreeBSD.org>2011-10-01 09:16:07 +0000
commit91bf568cd6ac3039b0005e4b0472bc318fa46fde (patch)
tree82a292e69ed7bba2a7f8dad37b03d590ccd0badd /usr.bin/fstat
parent373e645211c856b5fa7f92403e2afd1bee83d879 (diff)
downloadFreeBSD-src-91bf568cd6ac3039b0005e4b0472bc318fa46fde.zip
FreeBSD-src-91bf568cd6ac3039b0005e4b0472bc318fa46fde.tar.gz
Correct column with for device numbers made in previous change.
The device number should be displayed using only five columns -- not eight.
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r--usr.bin/fstat/fstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index c513a46..ed85351 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -441,7 +441,7 @@ print_vnode_info(struct procstat *procstat, struct filestat *fst)
}
if (nflg)
- printf(" %#8jx", (uintmax_t)vn.vn_fsid);
+ printf(" %#5jx", (uintmax_t)vn.vn_fsid);
else if (vn.vn_mntdir != NULL)
(void)printf(" %-8s", vn.vn_mntdir);
OpenPOWER on IntegriCloud