aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2005-02-07 18:37:13 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2005-02-07 18:37:13 +0000
commitd9e974716303403a77932c30b6bc372f86b2d2e6 (patch)
treecfd83e1a61c278f4bd2e7649226c8cb855563742 /sys
parent12dd959a7d5d52f4e0f68688d4897f1e3901a295 (diff)
downloadsrc-d9e974716303403a77932c30b6bc372f86b2d2e6.tar.gz
src-d9e974716303403a77932c30b6bc372f86b2d2e6.zip
Use the LCONVPATHEXIST() macro rather than it's exact expansion to be
consistent.
Notes
Notes: svn path=/head/; revision=141468
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/linux/linux_machdep.c5
1 files changed, 1 insertions, 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))