diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 13:03:11 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 13:03:11 +0000 |
commit | 296cdd194fb36e4b080690f5f24228925722bf57 (patch) | |
tree | 497124e5faea03f6583aa1a2deb5e8953cf68aa8 /src/fdholder/s6-fdholder-setdump.c | |
parent | 2f8e7b245b7fe187c41ea3655fce7551cfd7a48c (diff) | |
download | s6-296cdd194fb36e4b080690f5f24228925722bf57.tar.xz |
Adapt to new stopwatch API
Diffstat (limited to 'src/fdholder/s6-fdholder-setdump.c')
-rw-r--r-- | src/fdholder/s6-fdholder-setdump.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fdholder/s6-fdholder-setdump.c b/src/fdholder/s6-fdholder-setdump.c index 3265997..66192a1 100644 --- a/src/fdholder/s6-fdholder-setdump.c +++ b/src/fdholder/s6-fdholder-setdump.c @@ -40,8 +40,7 @@ int main (int argc, char const *const *argv) x = getenv("S6_FD#") ; if (!x) strerr_dienotset(100, "S6_FD#") ; if (!uint0_scan(x, &dumplen)) strerr_dieinvalid(100, "S6_FD#") ; - 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]) ; |