From 1f7a397ea589f31ab8e8eed72ebc2933ddb229a9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 28 Nov 2020 12:38:56 +0000 Subject: Adapt to new exec.h --- src/supervision/s6-permafailon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/supervision/s6-permafailon.c') diff --git a/src/supervision/s6-permafailon.c b/src/supervision/s6-permafailon.c index 1a9d68e..3912691 100644 --- a/src/supervision/s6-permafailon.c +++ b/src/supervision/s6-permafailon.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include @@ -59,7 +59,7 @@ static inline void list_scan (char const *s, unsigned char *codes, sigset_t *sig } } -int main (int argc, char const *const *argv, char const *const *envp) +int main (int argc, char const *const *argv) { unsigned char codes[32] ; sigset_t sigs ; @@ -122,5 +122,5 @@ int main (int argc, char const *const *argv, char const *const *envp) } cont: - xpathexec0_run(argv + 4, envp) ; + xexec0(argv+4) ; } -- cgit v1.2.3