diff options
Diffstat (limited to 'src/fdholder/s6-fdholder-getdump.c')
-rw-r--r-- | src/fdholder/s6-fdholder-getdump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fdholder/s6-fdholder-getdump.c b/src/fdholder/s6-fdholder-getdump.c index 34aeeb7..da99797 100644 --- a/src/fdholder/s6-fdholder-getdump.c +++ b/src/fdholder/s6-fdholder-getdump.c @@ -2,13 +2,15 @@ #include <string.h> #include <limits.h> + #include <skalibs/types.h> #include <skalibs/strerr2.h> #include <skalibs/sgetopt.h> #include <skalibs/tai.h> -#include <skalibs/env.h> #include <skalibs/djbunix.h> #include <skalibs/genalloc.h> +#include <skalibs/exec.h> + #include <s6/s6-fdholder.h> #define USAGE "s6-fdholder-getdump [ -t timeout ] socket prog..." @@ -81,6 +83,6 @@ int main (int argc, char const *const *argv, char const *const *envp) } modifs[pos++] = 0 ; } - xpathexec_r(argv+1, envp, env_len(envp), modifs, pos) ; + xmexec_n(argv+1, modifs, pos, 1 + 3*n) ; } } |