From 658645535bd74a065a8bc2183705c15fbb057c0a Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Fri, 22 Jun 2001 21:39:08 +0000 Subject: block on msgbuf --- sbin/sysctl/sysctl.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sbin') 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) -- cgit v1.2.3