diff options
Diffstat (limited to 'sysdeps/mach/hurd/fexecve.c')
-rw-r--r-- | sysdeps/mach/hurd/fexecve.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/fexecve.c b/sysdeps/mach/hurd/fexecve.c index a56a51bba1..c5679f197e 100644 --- a/sysdeps/mach/hurd/fexecve.c +++ b/sysdeps/mach/hurd/fexecve.c @@ -25,8 +25,9 @@ int fexecve (int fd, char *const argv[], char *const envp[]) { - error_t err = HURD_DPORT_USE (fd, _hurd_exec (__mach_task_self (), port, - argv, envp)); + error_t err = HURD_DPORT_USE (fd, _hurd_exec_paths (__mach_task_self (), + port, NULL, NULL, + argv, envp)); if (! err) err = EGRATUITOUS; return __hurd_fail (err); |