summaryrefslogtreecommitdiffstats
path: root/sys/svr4/svr4_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/svr4/svr4_misc.c')
-rw-r--r--sys/svr4/svr4_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/svr4/svr4_misc.c b/sys/svr4/svr4_misc.c
index 1d0065f..262fd06 100644
--- a/sys/svr4/svr4_misc.c
+++ b/sys/svr4/svr4_misc.c
@@ -560,7 +560,7 @@ svr4_sys_fchroot(p, uap)
struct file *fp;
int error;
- if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
+ if ((error = suser(p)) != 0)
return error;
if ((error = getvnode(fdp, SCARG(uap, fd), &fp)) != 0)
return error;
OpenPOWER on IntegriCloud