From 2f8e7b245b7fe187c41ea3655fce7551cfd7a48c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 4 Sep 2019 17:52:22 +0000 Subject: Separate wall clocks from stopwatches --- src/libs6/s6lockd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libs6/s6lockd.c') diff --git a/src/libs6/s6lockd.c b/src/libs6/s6lockd.c index 5e0b30c..d2f76d5 100644 --- a/src/libs6/s6lockd.c +++ b/src/libs6/s6lockd.c @@ -203,7 +203,8 @@ int main (int argc, char const *const *argv) if (selfpipe_trapset(&set) < 0) strerr_diefu1sys(111, "trap signals") ; } - + + tain_now_set_stopwatch() ; tain_now_g() ; tain_addsec_g(&deadline, 2) ; -- cgit v1.2.3