aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/scsi/scsi_pass.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
commita854ed98931b2e365eddd24cd2a1bb53a3f1828f (patch)
treede74317436bc6bf8211535e1dbda3f6762d05582 /sys/cam/scsi/scsi_pass.c
parent65e3406d28b159fab93b499d25ed079b2c978ff7 (diff)
downloadsrc-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.c2
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);