]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
sourcestats: reorder arguments to DEBUG_LOG in SST_IsGoodSample
authorChris Perl <cperl@janestreet.com>
Fri, 10 Mar 2017 13:45:41 +0000 (08:45 -0500)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 10 Mar 2017 15:55:22 +0000 (16:55 +0100)
The delay_increase and allowed_increase variables are backwards with
respect to the ordering of the words in the message.

sourcestats.c

index c216e03186207e824e140ba9026120fe0c55ab76..d3dea69cf43ceb71a50cdaf60b458c8112b6200d 100644 (file)
@@ -807,7 +807,7 @@ SST_IsGoodSample(SST_Stats inst, double offset, double delay,
     return 1;
 
   DEBUG_LOG("Bad sample: offset=%f delay=%f incr_delay=%f allowed=%f",
-      offset, delay, allowed_increase, delay_increase);
+            offset, delay, delay_increase, allowed_increase);
 
   return 0;
 }