From 87911281d2219fdc5a112b0a3fcbb654af7ff9e5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 6 Sep 2019 10:42:27 +0000 Subject: Adapt to new stopwatch API --- src/skaembutils/s6-maximumtime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/skaembutils/s6-maximumtime.c') diff --git a/src/skaembutils/s6-maximumtime.c b/src/skaembutils/s6-maximumtime.c index 30161dd..5745eb2 100644 --- a/src/skaembutils/s6-maximumtime.c +++ b/src/skaembutils/s6-maximumtime.c @@ -59,8 +59,7 @@ int main (int argc, char const *const *argv, char const *const *envp) pid = child_spawn0(argv[1], argv+1, envp) ; if (!pid) strerr_diefu2sys(111, "spawn ", argv[1]) ; - tain_now_set_stopwatch() ; - tain_now_g() ; + tain_now_set_stopwatch_g() ; tain_add_g(&deadline, &deadline) ; for (;;) -- cgit v1.2.3