svn commit: r236919 - head/sbin/hastd

Hans Petter Selasky hselasky at FreeBSD.org
Mon Jun 11 20:27:53 UTC 2012


Author: hselasky
Date: Mon Jun 11 20:27:52 2012
New Revision: 236919
URL: http://svn.freebsd.org/changeset/base/236919

Log:
  Revert: r236909
  
  Pointyhat: me

Modified:
  head/sbin/hastd/synch.h

Modified: head/sbin/hastd/synch.h
==============================================================================
--- head/sbin/hastd/synch.h	Mon Jun 11 20:19:24 2012	(r236918)
+++ head/sbin/hastd/synch.h	Mon Jun 11 20:27:52 2012	(r236919)
@@ -168,7 +168,7 @@ cv_timedwait(pthread_cond_t *cv, pthread
 		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);


More information about the svn-src-head mailing list