diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-22 21:39:08 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-22 21:39:08 +0000 |
commit | 658645535bd74a065a8bc2183705c15fbb057c0a (patch) | |
tree | ab5865b50015c33f275c4fb178de54dfffde98ab /sbin | |
parent | aaa28e3abf54cf85867868b499ea9b6830139083 (diff) |
block on msgbuf
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/sysctl/sysctl.c | 7 |
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) |