summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-sleep.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-30 12:28:04 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-30 12:28:04 +0000
commit438ec28cb8b88f392ca7b0c13447bd021810a564 (patch)
tree20fb94e28b7b2e71dd1a13089af05d3f21ab8fb7 /src/skaembutils/s6-sleep.c
parenta59bebeba589dba1a0246925b47688b722cfe68c (diff)
downloads6-portable-utils-438ec28cb8b88f392ca7b0c13447bd021810a564.tar.xz
Prepare for 2.2.3.1, adapt to skalibs-2.10.0.0
Diffstat (limited to 'src/skaembutils/s6-sleep.c')
-rw-r--r--src/skaembutils/s6-sleep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/skaembutils/s6-sleep.c b/src/skaembutils/s6-sleep.c
index 27da2b2..83d8c3d 100644
--- a/src/skaembutils/s6-sleep.c
+++ b/src/skaembutils/s6-sleep.c
@@ -4,12 +4,12 @@
#include <skalibs/strerr2.h>
#include <skalibs/types.h>
#include <skalibs/tai.h>
-#include <skalibs/djbunix.h>
#include <skalibs/iopause.h>
+#include <skalibs/exec.h>
#define USAGE "s6-sleep [ -m ] duration prog..."
-int main (int argc, char const *const *argv, char const *const *envp)
+int main (int argc, char const *const *argv)
{
unsigned int n ;
int milli = 0 ;
@@ -40,5 +40,5 @@ int main (int argc, char const *const *argv, char const *const *envp)
deepsleepuntil_g(&deadline) ;
}
- xpathexec0_run(argv+1, envp) ;
+ xexec0(argv+1) ;
}