From 31566c96f482a23dd7d6f7bde290092c6d33809b Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 20 Mar 2003 21:17:40 +0000 Subject: Use td->td_ucred instead of td->td_proc->p_ucred. --- sys/dev/raidframe/rf_threadstuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/raidframe') diff --git a/sys/dev/raidframe/rf_threadstuff.h b/sys/dev/raidframe/rf_threadstuff.h index f7e81ff262afc..a3560cc168bfc 100644 --- a/sys/dev/raidframe/rf_threadstuff.h +++ b/sys/dev/raidframe/rf_threadstuff.h @@ -78,7 +78,7 @@ typedef void *RF_ThreadArg_t; static __inline struct ucred * rf_getucred(RF_Thread_t td) { - return (((struct thread *)td)->td_proc->p_ucred); + return (((struct thread *)td)->td_ucred); } #endif -- cgit v1.3