From 438ec28cb8b88f392ca7b0c13447bd021810a564 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 30 Nov 2020 12:28:04 +0000 Subject: Prepare for 2.2.3.1, adapt to skalibs-2.10.0.0 --- src/skaembutils/s6-nice.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/skaembutils/s6-nice.c') diff --git a/src/skaembutils/s6-nice.c b/src/skaembutils/s6-nice.c index 3347d54..256f5e2 100644 --- a/src/skaembutils/s6-nice.c +++ b/src/skaembutils/s6-nice.c @@ -2,14 +2,15 @@ #include #include + #include #include #include -#include +#include #define USAGE "s6-nice [ -I | -i ] [ -n value ] prog..." -int main (int argc, char const *const *argv, char const *const *envp) +int main (int argc, char const *const *argv) { int incr = 10 ; int strict = 0 ; @@ -40,5 +41,5 @@ int main (int argc, char const *const *argv, char const *const *envp) if (strict) strerr_diefu2sys(111, "nice to ", fmt) ; else strerr_warnwu2sys("nice to ", fmt) ; } - xpathexec_run(argv[0], argv, envp) ; + xexec(argv) ; } -- cgit v1.2.3