summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2012-06-11 20:27:52 +0000
committerhselasky <hselasky@FreeBSD.org>2012-06-11 20:27:52 +0000
commit6a1a47c355eb1428f5c14e63ee76b3eb5644813a (patch)
treeb92560961292baa4328b4ad7392ad1f7a73e13ec /sbin/hastd
parentcc367c4a7e600504bab9e44ab9af69911fc1e743 (diff)
downloadFreeBSD-src-6a1a47c355eb1428f5c14e63ee76b3eb5644813a.zip
FreeBSD-src-6a1a47c355eb1428f5c14e63ee76b3eb5644813a.tar.gz
Revert: r236909
Pointyhat: me
Diffstat (limited to 'sbin/hastd')
-rw-r--r--sbin/hastd/synch.h2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud