diff options
author | jhb <jhb@FreeBSD.org> | 2005-02-07 18:37:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-02-07 18:37:13 +0000 |
commit | 2e8b9720fa54a4b671edaffba02b3df6efc48dc0 (patch) | |
tree | cfd83e1a61c278f4bd2e7649226c8cb855563742 /sys/i386/linux/linux_machdep.c | |
parent | 6e2f7d4c8e667f4ffedef65ce2be19a5ecceff15 (diff) | |
download | FreeBSD-src-2e8b9720fa54a4b671edaffba02b3df6efc48dc0.zip FreeBSD-src-2e8b9720fa54a4b671edaffba02b3df6efc48dc0.tar.gz |
Use the LCONVPATHEXIST() macro rather than it's exact expansion to be
consistent.
Diffstat (limited to 'sys/i386/linux/linux_machdep.c')
-rw-r--r-- | sys/i386/linux/linux_machdep.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c index 77c49b1..ff44a29 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)) |