diff options
Diffstat (limited to 'src/skaembutils/s6-sleep.c')
-rw-r--r-- | src/skaembutils/s6-sleep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/skaembutils/s6-sleep.c b/src/skaembutils/s6-sleep.c index 75162f1..27da2b2 100644 --- a/src/skaembutils/s6-sleep.c +++ b/src/skaembutils/s6-sleep.c @@ -35,8 +35,7 @@ int main (int argc, char const *const *argv, char const *const *envp) tain_t deadline ; if (milli) tain_from_millisecs(&deadline, n) ; else tain_uint(&deadline, n) ; - tain_now_set_stopwatch() ; - tain_now_g() ; + tain_now_set_stopwatch_g() ; tain_add_g(&deadline, &deadline) ; deepsleepuntil_g(&deadline) ; } |