From 296cdd194fb36e4b080690f5f24228925722bf57 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 6 Sep 2019 13:03:11 +0000 Subject: Adapt to new stopwatch API --- src/fdholder/s6-fdholder-retrieve.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/fdholder/s6-fdholder-retrieve.c') diff --git a/src/fdholder/s6-fdholder-retrieve.c b/src/fdholder/s6-fdholder-retrieve.c index c6ce4ee..ebfd2ed 100644 --- a/src/fdholder/s6-fdholder-retrieve.c +++ b/src/fdholder/s6-fdholder-retrieve.c @@ -37,8 +37,7 @@ int main (int argc, char const *const *argv, char const *const *envp) } if (argc < 3) dieusage() ; - tain_now_set_stopwatch() ; - tain_now_g() ; + tain_now_set_stopwatch_g() ; tain_add_g(&deadline, &deadline) ; if (!s6_fdholder_start_g(&a, argv[0], &deadline)) strerr_diefu2sys(111, "connect to a fd-holder daemon at ", argv[0]) ; -- cgit v1.2.3