summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-22 21:39:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-22 21:39:08 +0000
commit658645535bd74a065a8bc2183705c15fbb057c0a (patch)
treeab5865b50015c33f275c4fb178de54dfffde98ab /sbin
parentaaa28e3abf54cf85867868b499ea9b6830139083 (diff)
block on msgbuf
Diffstat (limited to 'sbin')
-rw-r--r--sbin/sysctl/sysctl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index e2d6cd49d77..08b6464115b 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.68 2001/06/22 21:35:46 art Exp $ */
+/* $OpenBSD: sysctl.c,v 1.69 2001/06/22 21:39:07 mickey Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95";
#else
-static char *rcsid = "$OpenBSD: sysctl.c,v 1.68 2001/06/22 21:35:46 art Exp $";
+static char *rcsid = "$OpenBSD: sysctl.c,v 1.69 2001/06/22 21:39:07 mickey Exp $";
#endif
#endif /* not lint */
@@ -366,6 +366,9 @@ parse(string, flags)
special |= KMEMSTATS;
newsize = 0;
break;
+ case KERN_MSGBUF:
+ warnx("use dmesg to view %s", string);
+ return;
case KERN_VNODE:
case KERN_FILE:
if (flags == 0)