diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c index 77c49b121677..ff44a29eb46a 100644 --- a/sys/i386/linux/linux_machdep.c +++ b/sys/i386/linux/linux_machdep.c @@ -110,10 +110,7 @@ linux_execve(struct thread *td, struct linux_execve_args *args) char *newpath; struct image_args eargs; - error = linux_emul_convpath(td, args->path, UIO_USERSPACE, - &newpath, 0); - if (newpath == NULL) - return (error); + LCONVPATHEXIST(td, args->path, &newpath); #ifdef DEBUG if (ldebug(execve))