diff options
author | John Baldwin <jhb@FreeBSD.org> | 2013-02-21 19:02:50 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2013-02-21 19:02:50 +0000 |
commit | 593efaf9f7ff8b4a961e61f55c333e63ee36495c (patch) | |
tree | 089655cb610bf1daca917a806eaed3dfb2554455 /sys/kern/vfs_lookup.c | |
parent | ae40be8cf0ea07df25b46f95e47fb17a992edf4a (diff) | |
download | src-593efaf9f7ff8b4a961e61f55c333e63ee36495c.tar.gz src-593efaf9f7ff8b4a961e61f55c333e63ee36495c.zip |
Notes
Diffstat (limited to 'sys/kern/vfs_lookup.c')
-rw-r--r-- | sys/kern/vfs_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index e5ee4f63879e..fbde152d6a6e 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -339,7 +339,7 @@ namei(struct nameidata *ndp) auio.uio_offset = 0; auio.uio_rw = UIO_READ; auio.uio_segflg = UIO_SYSSPACE; - auio.uio_td = (struct thread *)0; + auio.uio_td = td; auio.uio_resid = MAXPATHLEN; error = VOP_READLINK(ndp->ni_vp, &auio, cnp->cn_cred); if (error) { |