summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-02-08 00:32:12 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-02-08 00:32:12 +0000
commit5ce5d98acc5d5a8d16228aea7be49aac9ab95868 (patch)
tree4689334150bff856bd49e5e6007b7c6c7702d58c /sys
parent7764d96967b1f23e259f61fe8ce45985d5501476 (diff)
do not print stuff when not verbose
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_subr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 77a473fd5be..0cb3e61cc4b 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.47 2000/09/27 09:37:16 art Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.48 2001/02/08 00:32:11 mickey Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -1807,7 +1807,8 @@ vfs_syncwait(verbose)
nbusy++;
bawrite(bp);
if (dcount-- <= 0) {
- printf("softdep ");
+ if (verbose)
+ printf("softdep ");
return 1;
}
}