From 2e8b9720fa54a4b671edaffba02b3df6efc48dc0 Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 7 Feb 2005 18:37:13 +0000 Subject: [PATCH] Use the LCONVPATHEXIST() macro rather than it's exact expansion to be consistent. --- sys/i386/linux/linux_machdep.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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))