diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-09 10:52:36 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-09 10:52:36 +0000 |
commit | 23fe0da5dac6969a601c5ab18022a4c1fa49f434 (patch) | |
tree | 2ccf9e17f72364728d9938a1ee0705c7e919b5c6 | |
parent | 5da79ff8cbf3c0185d5f5d7f044915a8e0427ba0 (diff) | |
download | s6-frontend-23fe0da5dac6969a601c5ab18022a4c1fa49f434.tar.gz s6-frontend-23fe0da5dac6969a601c5ab18022a4c1fa49f434.tar.xz s6-frontend-23fe0da5dac6969a601c5ab18022a4c1fa49f434.zip |
Adapt to skalibs-2.14
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r-- | src/alias/s6-frontend-alias-sv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/alias/s6-frontend-alias-sv.c b/src/alias/s6-frontend-alias-sv.c index 69bb127..e55aaaa 100644 --- a/src/alias/s6-frontend-alias-sv.c +++ b/src/alias/s6-frontend-alias-sv.c @@ -11,6 +11,7 @@ #include <skalibs/sgetopt.h> #include <skalibs/buffer.h> #include <skalibs/strerr.h> +#include <skalibs/cspawn.h> #include <skalibs/djbunix.h> #include <s6/config.h> @@ -54,7 +55,7 @@ static int spawnit (char const *const *argv, char const *const *envp) { int wstat ; pid_t r ; - pid_t pid = child_spawn0(argv[0], argv, envp) ; + pid_t pid = cspawn(argv[0], argv, envp, 0, 0, 0) ; if (!pid) { strerr_warnwu2sys("spawn ", argv[0]) ; |