From: Miroslav Lichvar Date: Tue, 14 Feb 2012 13:47:57 +0000 (+0100) Subject: Fix last commit X-Git-Tag: 1.27-pre1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2be89bc6f2c8a6abfa9e9382ba8b1d8a794d2b90;p=thirdparty%2Fchrony.git Fix last commit --- diff --git a/rtc_linux.c b/rtc_linux.c index 2395bb85..e7b025e3 100644 --- a/rtc_linux.c +++ b/rtc_linux.c @@ -1048,7 +1048,7 @@ RTC_Linux_Trim(void) /* Estimate the offset in case writertc is called or chronyd is terminated during rapid sampling */ coef_seconds_fast = -now.tv_usec / 1e6 + 0.5; - coef_ref_time = now; + coef_ref_time = now.tv_sec; /* And start rapid sampling, interrupts on now */ if (timeout_running) {