summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs/nwfs_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nwfs/nwfs_node.c')
-rw-r--r--sys/fs/nwfs/nwfs_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nwfs/nwfs_node.c b/sys/fs/nwfs/nwfs_node.c
index d6f8788..d8693fa 100644
--- a/sys/fs/nwfs/nwfs_node.c
+++ b/sys/fs/nwfs/nwfs_node.c
@@ -287,7 +287,7 @@ nwfs_inactive(ap)
} */ *ap;
{
struct thread *td = ap->a_td;
- struct ucred *cred = td->td_proc->p_ucred;
+ struct ucred *cred = td->td_ucred;
struct vnode *vp = ap->a_vp;
struct nwnode *np = VTONW(vp);
int error;
OpenPOWER on IntegriCloud