summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorflipk <flipk@cvs.openbsd.org>1997-06-21 04:59:48 +0000
committerflipk <flipk@cvs.openbsd.org>1997-06-21 04:59:48 +0000
commit2e6593ffc650b318fa58ad6f1f02bb806435f246 (patch)
treed25a24f6418bde00e610d7a93a81e27de7636ae6 /sys/kern
parent18c53573d42041a83810b2d11f067b8f58dfd78e (diff)
revert, there's a nasty race condition here.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_sysctl.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 604564a0aef..92a41ad969c 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.16 1997/06/14 21:37:10 mickey Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.17 1997/06/21 04:59:44 flipk Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -60,7 +60,6 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
-#include <dev/rndvar.h>
#ifdef DDB
#include <ddb/db_var.h>
@@ -298,9 +297,6 @@ kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
return (sysctl_int(oldp, oldlenp, newp, newlen, &sominconn));
case KERN_USERMOUNT:
return (sysctl_int(oldp, oldlenp, newp, newlen, &usermount));
- case KERN_RND:
- return (sysctl_rdstruct(oldp, oldlenp, newp, &rndstats,
- sizeof(rndstats)));
default:
return (EOPNOTSUPP);
}