summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-maximumtime.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-10 17:59:16 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-10 17:59:16 +0000
commitb08261b5bb18d5c3f3fece09c5c582679f6c8bbc (patch)
tree799d6371a02c2a313eb00aa97c98e9c2d2a0d2e8 /src/skaembutils/s6-maximumtime.c
parent064b149613eae9a74a6fa91f062f253b816785c3 (diff)
downloads6-portable-utils-b08261b5bb18d5c3f3fece09c5c582679f6c8bbc.tar.xz
Prepare for 2.2.3.3 ; adapt to skalibs-2.11.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/skaembutils/s6-maximumtime.c')
-rw-r--r--src/skaembutils/s6-maximumtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/skaembutils/s6-maximumtime.c b/src/skaembutils/s6-maximumtime.c
index 5745eb2..f66c32a 100644
--- a/src/skaembutils/s6-maximumtime.c
+++ b/src/skaembutils/s6-maximumtime.c
@@ -18,14 +18,14 @@
int main (int argc, char const *const *argv, char const *const *envp)
{
- tain_t deadline ;
+ tain deadline ;
iopause_fd x[1] = { { .fd = -1, .events = IOPAUSE_READ, .revents = 0 } } ;
pid_t pid = 0 ;
int tosend = SIGTERM ;
unsigned int timeout ;
PROG = "s6-maximumtime" ;
{
- subgetopt_t l = SUBGETOPT_ZERO ;
+ subgetopt l = SUBGETOPT_ZERO ;
for (;;)
{
int opt = subgetopt_r(argc, argv, "0abikqtx12", &l) ;