Catch up with rwatsons ucred changes.

This commit is contained in:
Julian Elischer 2001-02-27 17:43:53 +00:00
parent 98e53e5bfb
commit ae19fe648c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73165

View File

@ -206,7 +206,7 @@ nmdmopen(dev, flag, devtype, p)
tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED;
} else if (tp->t_state & TS_XCLUDE && suser(p)) {
return (EBUSY);
} else if (pti->pt_prison != p->p_prison) {
} else if (pti->pt_prison != p->p_ucred->cr_prison) {
return (EBUSY);
}