diff options
author | 2001-06-22 21:39:07 +0000 | |
---|---|---|
committer | 2001-06-22 21:39:07 +0000 | |
commit | a0079f193ce3431f734545475caedcdd8071352b (patch) | |
tree | 93cf1b7c4ee10ba9abd0de917618acf58741c1f7 | |
parent | switch from primes to moduli (diff) | |
download | wireguard-openbsd-a0079f193ce3431f734545475caedcdd8071352b.tar.xz wireguard-openbsd-a0079f193ce3431f734545475caedcdd8071352b.zip |
block on msgbuf
-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) |