summaryrefslogtreecommitdiff
path: root/src/fdholder/s6-fdholder-setdump.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 17:52:22 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 17:52:22 +0000
commit2f8e7b245b7fe187c41ea3655fce7551cfd7a48c (patch)
tree7cab69ff654641d465353e5c04d9e6d6aa813e8e /src/fdholder/s6-fdholder-setdump.c
parenta359fda48970b7d02ef914e3f7aa0a9c9ff73f7f (diff)
downloads6-2f8e7b245b7fe187c41ea3655fce7551cfd7a48c.tar.xz
Separate wall clocks from stopwatches
Diffstat (limited to 'src/fdholder/s6-fdholder-setdump.c')
-rw-r--r--src/fdholder/s6-fdholder-setdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fdholder/s6-fdholder-setdump.c b/src/fdholder/s6-fdholder-setdump.c
index 41a1c07..3265997 100644
--- a/src/fdholder/s6-fdholder-setdump.c
+++ b/src/fdholder/s6-fdholder-setdump.c
@@ -40,6 +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_add_g(&deadline, &deadline) ;
if (!s6_fdholder_start_g(&a, argv[0], &deadline))