summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/pstat.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-30 20:18:49 +0000
committerpeter <peter@FreeBSD.org>1997-08-30 20:18:49 +0000
commit699c94cfae8cdb7c2e52e1258fe30ec4449c9d32 (patch)
treea5867b975323e606b0ee8f64dd775a4c03465f75 /usr.sbin/pstat/pstat.c
parent58f19e591bcb8f4e42dab73e67e984f5c5b1d960 (diff)
downloadFreeBSD-src-699c94cfae8cdb7c2e52e1258fe30ec4449c9d32.zip
FreeBSD-src-699c94cfae8cdb7c2e52e1258fe30ec4449c9d32.tar.gz
Update to include some of the newer vnode flags and remove some stale ones.
Diffstat (limited to 'usr.sbin/pstat/pstat.c')
-rw-r--r--usr.sbin/pstat/pstat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 3c9db3b..576199b 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -442,6 +442,8 @@ vnode_print(avnode, vp)
*fp++ = 'T';
if (flag & VSYSTEM)
*fp++ = 'S';
+ if (flag & VISTTY)
+ *fp++ = 't';
if (flag & VXLOCK)
*fp++ = 'L';
if (flag & VXWANT)
@@ -450,6 +452,14 @@ vnode_print(avnode, vp)
*fp++ = 'B';
if (flag & VALIASED)
*fp++ = 'A';
+ if (flag & VVMIO)
+ *fp++ = 'V';
+ if (flag & VAGE)
+ *fp++ = 'a';
+ if (flag & VOLOCK)
+ *fp++ = 'l';
+ if (flag & VOWANT)
+ *fp++ = 'w';
if (flag == 0)
*fp++ = '-';
*fp = '\0';
OpenPOWER on IntegriCloud