aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linprocfs/linprocfs.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-11-25 21:43:06 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-11-25 22:50:42 +0000
commit7e1d3eefd410ca0fbae5a217422821244c3eeee4 (patch)
tree4bd504069949f38227970cbe8e49c45665f06279 /sys/compat/linprocfs/linprocfs.c
parentc40fee6f7d26862260f0accc1dfeaa7b1328f5fd (diff)
downloadsrc-7e1d3eefd410ca0fbae5a217422821244c3eeee4.tar.gz
src-7e1d3eefd410ca0fbae5a217422821244c3eeee4.zip
vfs: remove the unused thread argument from NDINIT*
See b4a58fbf640409a1 ("vfs: remove cn_thread") Bump __FreeBSD_version to 1400043.
Diffstat (limited to 'sys/compat/linprocfs/linprocfs.c')
-rw-r--r--sys/compat/linprocfs/linprocfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
index 16755402bb7b..09144350a8ee 100644
--- a/sys/compat/linprocfs/linprocfs.c
+++ b/sys/compat/linprocfs/linprocfs.c
@@ -482,7 +482,7 @@ linprocfs_domtab(PFS_FILL_ARGS)
* Ideally, this would use the current chroot rather than some
* hardcoded path.
*/
- NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, linux_emul_path, td);
+ NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, linux_emul_path);
flep = NULL;
error = namei(&nd);
lep = linux_emul_path;
@@ -539,7 +539,7 @@ linprocfs_doprocmountinfo(PFS_FILL_ARGS)
* Ideally, this would use the current chroot rather than some
* hardcoded path.
*/
- NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, linux_emul_path, td);
+ NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, linux_emul_path);
flep = NULL;
error = namei(&nd);
lep = linux_emul_path;