diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-04 11:16:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-04 11:16:53 +0000 |
commit | 5bee815f7f9045db667bf9a1b0d5fddd94c704e4 (patch) | |
tree | 6693982d886ae22e8edaaf9ad4815e2755fd7322 /src/clients/s6-dnstxt.c | |
parent | aacb26706179e91c67bc5c7da86d146997a5ab61 (diff) | |
download | s6-dns-5bee815f7f9045db667bf9a1b0d5fddd94c704e4.tar.xz |
Use stopwatches
Diffstat (limited to 'src/clients/s6-dnstxt.c')
-rw-r--r-- | src/clients/s6-dnstxt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clients/s6-dnstxt.c b/src/clients/s6-dnstxt.c index df5aee1..622f9bb 100644 --- a/src/clients/s6-dnstxt.c +++ b/src/clients/s6-dnstxt.c @@ -43,6 +43,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(&stamp) ; if (t) tain_from_millisecs(&deadline, t) ; else deadline = tain_infinite_relative ; tain_add(&deadline, &deadline, &stamp) ; |