summaryrefslogtreecommitdiff
path: root/src/libs6
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6')
-rw-r--r--src/libs6/s6-ftrigrd.c1
-rw-r--r--src/libs6/s6lockd.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libs6/s6-ftrigrd.c b/src/libs6/s6-ftrigrd.c
index dfb9672..ce9d03a 100644
--- a/src/libs6/s6-ftrigrd.c
+++ b/src/libs6/s6-ftrigrd.c
@@ -201,6 +201,7 @@ int main (void)
{
tain_t deadline ;
+ tain_now_set_stopwatch() ;
tain_now_g() ;
tain_addsec_g(&deadline, 2) ;
if (!textclient_server_01x_init_g(FTRIGR_BANNER1, FTRIGR_BANNER1_LEN, FTRIGR_BANNER2, FTRIGR_BANNER2_LEN, &deadline))
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) ;