From 6a1a47c355eb1428f5c14e63ee76b3eb5644813a Mon Sep 17 00:00:00 2001 From: hselasky Date: Mon, 11 Jun 2012 20:27:52 +0000 Subject: Revert: r236909 Pointyhat: me --- sbin/hastd/synch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/hastd') diff --git a/sbin/hastd/synch.h b/sbin/hastd/synch.h index 6e4de9d..65360fd 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_REALTIME, &ts); + error = clock_gettime(CLOCK_MONOTONIC, &ts); PJDLOG_ASSERT(error == 0); ts.tv_sec += timeout; error = pthread_cond_timedwait(cv, lock, &ts); -- cgit v1.1