summaryrefslogtreecommitdiff
path: root/src/init/s6-linux-init-telinit.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-30 18:27:41 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-30 18:27:41 +0000
commit2fa0acdd248c006270010196ad02e530d8ab09ea (patch)
tree0c5f946f06a1c98d2a35c8eb350dc62d3e97a8ff /src/init/s6-linux-init-telinit.c
parentc1171b979c236ec2c486bc12e4866112a12b9a84 (diff)
downloads6-linux-init-2fa0acdd248c006270010196ad02e530d8ab09ea.tar.xz
Adapt to skalibs-2.10.0.0 and s6-2.10.0.0
Diffstat (limited to 'src/init/s6-linux-init-telinit.c')
-rw-r--r--src/init/s6-linux-init-telinit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init/s6-linux-init-telinit.c b/src/init/s6-linux-init-telinit.c
index cf05a7e..3c8d3fe 100644
--- a/src/init/s6-linux-init-telinit.c
+++ b/src/init/s6-linux-init-telinit.c
@@ -7,6 +7,7 @@
#include <skalibs/sgetopt.h>
#include <skalibs/strerr2.h>
#include <skalibs/djbunix.h>
+#include <skalibs/exec.h>
#include <s6/config.h>
@@ -72,5 +73,5 @@ int main (int argc, char const *const *argv, char const *const *envp)
newargv[2] = 0 ;
}
- xpathexec_run(newargv[0], newargv, envp) ;
+ xexec_e(newargv, envp) ;
}