diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 10:51:27 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 10:51:27 +0000 |
commit | be796e67efda6fbcc6ac07c3b213e3e276b8d7f0 (patch) | |
tree | b4aabd39f8a657159fc4d0f3061fd8c3bbc5ecc8 /src/clients/s6-dnsip4.c | |
parent | 5bee815f7f9045db667bf9a1b0d5fddd94c704e4 (diff) | |
download | s6-dns-be796e67efda6fbcc6ac07c3b213e3e276b8d7f0.tar.xz |
Adapt to new stopwatch API
Diffstat (limited to 'src/clients/s6-dnsip4.c')
-rw-r--r-- | src/clients/s6-dnsip4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clients/s6-dnsip4.c b/src/clients/s6-dnsip4.c index 8458099..b46f229 100644 --- a/src/clients/s6-dnsip4.c +++ b/src/clients/s6-dnsip4.c @@ -39,8 +39,7 @@ int main (int argc, char const *const *argv) argc -= subgetopt_here.ind ; argv += subgetopt_here.ind ; if (argc < 1) dieusage() ; - tain_now_set_stopwatch() ; - tain_now_g() ; + tain_now_set_stopwatch_g() ; if (t) tain_from_millisecs(&deadline, t) ; else deadline = tain_infinite_relative ; tain_add_g(&deadline, &deadline) ; if (!s6dns_init()) strerr_diefu1sys(111, "s6dns_init") ; |