mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-21 07:45:07 +00:00
Use the LCONVPATHEXIST() macro rather than it's exact expansion to be
consistent.
This commit is contained in:
parent
12dd959a7d
commit
d9e9747163
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141468
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue