]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Fix regression validity check in handle_relock_after_trim()
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Oct 2013 15:42:30 +0000 (17:42 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Oct 2013 15:50:27 +0000 (17:50 +0200)
rtc_linux.c

index 6e1771b45ef9aafe718035e7d958a2815e7412aa..8c4cec656173713e795378d286b37ac0bf9ce4d6 100644 (file)
@@ -670,6 +670,7 @@ handle_relock_after_trim(void)
   time_t ref;
   double fast, slope;
 
+  valid = 0;
   run_regression(1, &valid, &ref, &fast, &slope);
 
   if (valid) {