diff options
Diffstat (limited to 'sys/i386/isa/rc.c')
-rw-r--r-- | sys/i386/isa/rc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/rc.c b/sys/i386/isa/rc.c index a5d96ec..ca9032e 100644 --- a/sys/i386/isa/rc.c +++ b/sys/i386/isa/rc.c @@ -767,7 +767,7 @@ again: } } if (tp->t_state & TS_XCLUDE && - suser(p->p_ucred, &p->p_acflag)) { + suser(p)) { error = EBUSY; goto out; } @@ -1144,7 +1144,7 @@ struct proc *p; break; case TIOCMSDTRWAIT: - error = suser(p->p_ucred, &p->p_acflag); + error = suser(p); if (error != 0) { splx(s); return (error); |