summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/sys_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/amd64/sys_machdep.c')
-rw-r--r--sys/amd64/amd64/sys_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c
index 17aa580..9c3df36 100644
--- a/sys/amd64/amd64/sys_machdep.c
+++ b/sys/amd64/amd64/sys_machdep.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91
- * $Id: sys_machdep.c,v 1.38 1998/12/07 21:58:19 archie Exp $
+ * $Id: sys_machdep.c,v 1.39 1999/01/28 01:59:50 dillon Exp $
*
*/
@@ -185,7 +185,7 @@ i386_set_ioperm(p, args)
if ((error = copyin(args, &ua, sizeof(struct i386_ioperm_args))) != 0)
return (error);
- if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
+ if ((error = suser(p)) != 0)
return (error);
if (securelevel > 0)
return (EPERM);
OpenPOWER on IntegriCloud