aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_util.c')
-rw-r--r--sys/compat/linux/linux_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c
index 9e6dea35617f..f1d33faa628d 100644
--- a/sys/compat/linux/linux_util.c
+++ b/sys/compat/linux/linux_util.c
@@ -99,12 +99,12 @@ SYSCTL_BOOL(_compat_linux, OID_AUTO, use_real_ifnames, CTLFLAG_RWTUN,
* named file, i.e. we check if the directory it should be in exists.
*/
int
-linux_emul_convpath(struct thread *td, const char *path, enum uio_seg pathseg,
+linux_emul_convpath(const char *path, enum uio_seg pathseg,
char **pbuf, int cflag, int dfd)
{
int retval;
- retval = kern_alternate_path(td, linux_emul_path, path, pathseg, pbuf,
+ retval = kern_alternate_path(curthread, linux_emul_path, path, pathseg, pbuf,
cflag, dfd);
return (retval);