summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/rp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/rp.c')
-rw-r--r--sys/i386/isa/rp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/rp.c b/sys/i386/isa/rp.c
index 28acaee..3ac4ee9 100644
--- a/sys/i386/isa/rp.c
+++ b/sys/i386/isa/rp.c
@@ -1346,7 +1346,8 @@ open_top:
goto open_top;
}
}
- if(tp->t_state & TS_XCLUDE && p->p_ucred->cr_uid != 0) {
+ if(tp->t_state & TS_XCLUDE &&
+ suser(p->p_ucred, &p->p_acflag)) {
splx(oldspl);
return(EBUSY);
}
OpenPOWER on IntegriCloud