summaryrefslogtreecommitdiffstats
path: root/sys/dev/nmdm
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-02-27 17:43:53 +0000
committerjulian <julian@FreeBSD.org>2001-02-27 17:43:53 +0000
commit7132567ff2117ad6868e8a8f3e151a2d72c64d83 (patch)
tree54e176b907012b8b2151e569ec2d1b59d8f71b62 /sys/dev/nmdm
parentf23ef63cf90e36a2bced4a758f9966129ee33b5f (diff)
downloadFreeBSD-src-7132567ff2117ad6868e8a8f3e151a2d72c64d83.zip
FreeBSD-src-7132567ff2117ad6868e8a8f3e151a2d72c64d83.tar.gz
Catch up with rwatsons ucred changes.
Diffstat (limited to 'sys/dev/nmdm')
-rw-r--r--sys/dev/nmdm/nmdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nmdm/nmdm.c b/sys/dev/nmdm/nmdm.c
index 55468ad..774f1b3 100644
--- a/sys/dev/nmdm/nmdm.c
+++ b/sys/dev/nmdm/nmdm.c
@@ -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);
}
OpenPOWER on IntegriCloud