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/conn-tools/s6-sudod.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/conn-tools/s6-sudod.c') diff --git a/src/conn-tools/s6-sudod.c b/src/conn-tools/s6-sudod.c index a7c5668..9cc7148 100644 --- a/src/conn-tools/s6-sudod.c +++ b/src/conn-tools/s6-sudod.c @@ -55,6 +55,7 @@ int main (int argc, char const *const *argv, char const *const *envp) if ((ndelay_on(0) < 0) || (ndelay_on(1) < 0)) strerr_diefu1sys(111, "make socket non-blocking") ; + tain_now_set_stopwatch() ; tain_now_g() ; tain_add_g(&deadline, &deadline) ; buffer_putnoflush(buffer_1small, S6_SUDO_BANNERB, S6_SUDO_BANNERB_LEN) ; -- cgit v1.2.3