about summary refs log tree commit diff
path: root/src/alias/s6-frontend-alias-sv.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-09 10:52:36 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-09 10:52:36 +0000
commit23fe0da5dac6969a601c5ab18022a4c1fa49f434 (patch)
tree2ccf9e17f72364728d9938a1ee0705c7e919b5c6 /src/alias/s6-frontend-alias-sv.c
parent5da79ff8cbf3c0185d5f5d7f044915a8e0427ba0 (diff)
downloads6-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>
Diffstat (limited to 'src/alias/s6-frontend-alias-sv.c')
-rw-r--r--src/alias/s6-frontend-alias-sv.c3
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]) ;