diff options
author | John Baldwin <jhb@FreeBSD.org> | 2002-02-27 18:32:23 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2002-02-27 18:32:23 +0000 |
commit | a854ed98931b2e365eddd24cd2a1bb53a3f1828f (patch) | |
tree | de74317436bc6bf8211535e1dbda3f6762d05582 /sys/cam/scsi/scsi_pass.c | |
parent | 65e3406d28b159fab93b499d25ed079b2c978ff7 (diff) | |
download | src-a854ed98931b2e365eddd24cd2a1bb53a3f1828f.tar.gz src-a854ed98931b2e365eddd24cd2a1bb53a3f1828f.zip |
Simple p_ucred -> td_ucred changes to start using the per-thread ucred
reference.
Notes
Notes:
svn path=/head/; revision=91406
Diffstat (limited to 'sys/cam/scsi/scsi_pass.c')
-rw-r--r-- | sys/cam/scsi/scsi_pass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c index 964d3837f859..e291acae4432 100644 --- a/sys/cam/scsi/scsi_pass.c +++ b/sys/cam/scsi/scsi_pass.c @@ -371,7 +371,7 @@ passopen(dev_t dev, int flags, int fmt, struct thread *td) /* * Don't allow access when we're running at a high securelevel. */ - error = securelevel_gt(td->td_proc->p_ucred, 1); + error = securelevel_gt(td->td_ucred, 1); if (error) { splx(s); return(error); |