diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/execline/execlineb-wrapper.c')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/execline/execlineb-wrapper.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/tools/misc/execline/execlineb-wrapper.c b/nixpkgs/pkgs/tools/misc/execline/execlineb-wrapper.c index d31a76ca26eb..c8e91813b774 100644 --- a/nixpkgs/pkgs/tools/misc/execline/execlineb-wrapper.c +++ b/nixpkgs/pkgs/tools/misc/execline/execlineb-wrapper.c @@ -12,6 +12,7 @@ #include <skalibs/djbunix.h> #include <skalibs/strerr2.h> #include <skalibs/env.h> +#include <skalibs/exec.h> #define dienomem() strerr_diefu1sys(111, "stralloc_catb") @@ -41,10 +42,10 @@ int main(int argc, char const* argv[], char const *const *envp) } // exec into execlineb and append path_modif to the environment - xpathexec_r_name( + xmexec_aem( EXECLINEB_PATH(), argv, - envp, env_len(envp), + envp, path_modif.s, path_modif.len ); } |