diff options
author | June McEnroe <june@causal.agency> | 2020-08-15 09:53:03 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-15 09:53:03 -0400 |
commit | f39d916e3a35527eb0d886506ac6fc70fa639070 (patch) | |
tree | 0fb74809fd14dbc03cf07fe7907fc3277ce186e2 /service.c | |
parent | Reap children (diff) | |
download | catsit-f39d916e3a35527eb0d886506ac6fc70fa639070.tar.gz catsit-f39d916e3a35527eb0d886506ac6fc70fa639070.zip |
Just use CLOCK_MONOTONIC and clean up includes
CLOCK_MONOTONIC exists everywhere.
Diffstat (limited to 'service.c')
-rw-r--r-- | service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service.c b/service.c index 35d15f3..12f465f 100644 --- a/service.c +++ b/service.c @@ -111,7 +111,7 @@ err: } static void setDeadline(struct Service *service) { - clock_gettime(CLOCK_MONOTONIC_FAST, &service->restartDeadline); + clock_gettime(CLOCK_MONOTONIC, &service->restartDeadline); timespecadd( &service->restartDeadline, &service->restartInterval, &service->restartDeadline |