summaryrefslogtreecommitdiff
path: root/usr.sbin/pstat/pstat.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-07-12 05:32:52 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-07-12 05:32:52 +0000
commit2bbd82d09d5c99f330ccaa3ff43f5244b2993a0c (patch)
treee311eb725e90f9f0923f882b05c32df90338f65b /usr.sbin/pstat/pstat.c
parent4ee93a6d36611bf801112c2ed131bb8b18b7363c (diff)
remove printing of soon-to-be-gone flags.
Diffstat (limited to 'usr.sbin/pstat/pstat.c')
-rw-r--r--usr.sbin/pstat/pstat.c29
1 files changed, 2 insertions, 27 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index a44d102bdc4..af46a9b6748 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pstat.c,v 1.36 2002/06/19 08:45:52 deraadt Exp $ */
+/* $OpenBSD: pstat.c,v 1.37 2002/07/12 05:32:51 art Exp $ */
/* $NetBSD: pstat.c,v 1.27 1996/10/23 22:50:06 cgd Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
from: static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94";
#else
-static char *rcsid = "$OpenBSD: pstat.c,v 1.36 2002/06/19 08:45:52 deraadt Exp $";
+static char *rcsid = "$OpenBSD: pstat.c,v 1.37 2002/07/12 05:32:51 art Exp $";
#endif
#endif /* not lint */
@@ -648,31 +648,6 @@ mount_print(mp)
flags &= ~MNT_FORCE;
comma = ",";
}
- if (flags & MNT_MLOCK) {
- (void)printf("%slock", comma);
- flags &= ~MNT_MLOCK;
- comma = ",";
- }
- if (flags & MNT_MWAIT) {
- (void)printf("%swait", comma);
- flags &= ~MNT_MWAIT;
- comma = ",";
- }
- if (flags & MNT_MPBUSY) {
- (void)printf("%sbusy", comma);
- flags &= ~MNT_MPBUSY;
- comma = ",";
- }
- if (flags & MNT_MPWANT) {
- (void)printf("%swant", comma);
- flags &= ~MNT_MPWANT;
- comma = ",";
- }
- if (flags & MNT_UNMOUNT) {
- (void)printf("%sunmount", comma);
- flags &= ~MNT_UNMOUNT;
- comma = ",";
- }
if (flags & MNT_WANTRDWR) {
(void)printf("%swantrdwr", comma);
flags &= ~MNT_WANTRDWR;