summaryrefslogtreecommitdiffstats
path: root/sys/dev/raidframe/rf_threadstuff.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-03-20 21:17:40 +0000
committerjhb <jhb@FreeBSD.org>2003-03-20 21:17:40 +0000
commitb8b062b09b687ba751b96ac20ce9fb9a79a43301 (patch)
tree608cb551a154df99f6a9548cb3d9702bd3b8428c /sys/dev/raidframe/rf_threadstuff.h
parent15ebade0f49b1e1e6e150dec2ce588fd540bf300 (diff)
downloadFreeBSD-src-b8b062b09b687ba751b96ac20ce9fb9a79a43301.zip
FreeBSD-src-b8b062b09b687ba751b96ac20ce9fb9a79a43301.tar.gz
Use td->td_ucred instead of td->td_proc->p_ucred.
Diffstat (limited to 'sys/dev/raidframe/rf_threadstuff.h')
-rw-r--r--sys/dev/raidframe/rf_threadstuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/raidframe/rf_threadstuff.h b/sys/dev/raidframe/rf_threadstuff.h
index f7e81ff..a3560cc 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
OpenPOWER on IntegriCloud