diff options
Diffstat (limited to 'sbin/hastd')
-rw-r--r-- | sbin/hastd/synch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/synch.h b/sbin/hastd/synch.h index 36e1927..6e4de9d 100644 --- a/sbin/hastd/synch.h +++ b/sbin/hastd/synch.h @@ -168,7 +168,7 @@ cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) return (false); } - error = clock_gettime(CLOCK_MONOTONIC, &ts); + error = clock_gettime(CLOCK_REALTIME, &ts); PJDLOG_ASSERT(error == 0); ts.tv_sec += timeout; error = pthread_cond_timedwait(cv, lock, &ts); |