aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/s6tls_exec_tlscio.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-26 09:47:02 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-26 09:47:02 +0000
commit26cd94b2a8f6da396058b6c5d6446e237ec9d78f (patch)
tree13706df3bc9657d911a26133625044ae1e1acb30 /src/tls/s6tls_exec_tlscio.c
parent51a612c34446e10a086947c410aa206fa978d169 (diff)
downloads6-networking-26cd94b2a8f6da396058b6c5d6446e237ec9d78f.tar.gz
Convert to new exec.h syntax
Diffstat (limited to 'src/tls/s6tls_exec_tlscio.c')
-rw-r--r--src/tls/s6tls_exec_tlscio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tls/s6tls_exec_tlscio.c b/src/tls/s6tls_exec_tlscio.c
index ad00ecd..e4e84f9 100644
--- a/src/tls/s6tls_exec_tlscio.c
+++ b/src/tls/s6tls_exec_tlscio.c
@@ -1,8 +1,7 @@
/* ISC license. */
-#include <skalibs/posixplz.h>
#include <skalibs/types.h>
-#include <skalibs/djbunix.h>
+#include <skalibs/exec.h>
#include <s6-networking/config.h>
#include "s6tls-internal.h"
@@ -49,5 +48,5 @@ void s6tls_exec_tlscio (int const *fds, uint32_t options, unsigned int verbosity
newargv[m++] = fmtw ;
fmtw[uint_fmt(fmtw, fds[1])] = 0 ;
newargv[m++] = 0 ;
- xpathexec_run(newargv[0], newargv, (char const *const *)environ) ;
+ xexec(newargv) ;
}