diff options
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r-- | sys/kern/kern_sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 7418800..fc0a204 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94 - * $Id: kern_sysctl.c,v 1.85 1999/03/23 14:23:15 phk Exp $ + * $Id: kern_sysctl.c,v 1.86 1999/03/30 09:00:45 phk Exp $ */ #include "opt_compat.h" @@ -764,7 +764,7 @@ found: /* Most likely only root can write */ if (!(oid->oid_kind & CTLFLAG_ANYBODY) && req->newptr && req->p && - (i = suser(req->p->p_ucred, &req->p->p_acflag))) + (i = suser(req->p))) return (i); if (!oid->oid_handler) |