From 23fe0da5dac6969a601c5ab18022a4c1fa49f434 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 9 Sep 2023 10:52:36 +0000 Subject: Adapt to skalibs-2.14 Signed-off-by: Laurent Bercot --- src/alias/s6-frontend-alias-sv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/alias') 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 #include #include +#include #include #include @@ -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]) ; -- cgit v1.2.3