summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-12-05 08:49:19 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-12-05 08:49:19 +0000
commit4acb0b678b76e7baba0522ce923b8dc8c9cd6ef9 (patch)
tree1e9c590438e0e4ee94734a073c52a3e9813de39a /usr.sbin
parentb0a011cf3296b87d11115a78cad39b1efec4bf79 (diff)
Learn pstat about soft updates.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pstat/pstat.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 5ea59c4d576..0a46fdd7022 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pstat.c,v 1.21 1999/06/23 15:56:36 millert Exp $ */
+/* $OpenBSD: pstat.c,v 1.22 1999/12/05 08:49:18 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.21 1999/06/23 15:56:36 millert Exp $";
+static char *rcsid = "$OpenBSD: pstat.c,v 1.22 1999/12/05 08:49:18 art Exp $";
#endif
#endif /* not lint */
@@ -655,6 +655,11 @@ mount_print(mp)
flags &= ~MNT_UNMOUNT;
comma = ",";
}
+ if (flags & MNT_SOFTDEP) {
+ (void)printf("%ssoftdep", comma);
+ flags &= ~MNT_SOFTDEP;
+ comma = ",";
+ }
if (flags)
(void)printf("%sunknown_flags:%x", comma, flags);
(void)printf(")");