diff options
author | jhb <jhb@FreeBSD.org> | 2003-03-20 21:17:40 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-03-20 21:17:40 +0000 |
commit | b8b062b09b687ba751b96ac20ce9fb9a79a43301 (patch) | |
tree | 608cb551a154df99f6a9548cb3d9702bd3b8428c /sys/dev/raidframe/rf_threadstuff.h | |
parent | 15ebade0f49b1e1e6e150dec2ce588fd540bf300 (diff) | |
download | FreeBSD-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.h | 2 |
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 |