]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Fix last commit
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 14 Feb 2012 13:47:57 +0000 (14:47 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 14 Feb 2012 13:47:57 +0000 (14:47 +0100)
rtc_linux.c

index 2395bb853437a28d526f622743339c1c3b00313c..e7b025e36e1107ea7e4e6aadd98167f0dfec41db 100644 (file)
@@ -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) {