From: Chris Perl Date: Fri, 10 Mar 2017 13:45:41 +0000 (-0500) Subject: sourcestats: reorder arguments to DEBUG_LOG in SST_IsGoodSample X-Git-Tag: 3.2-pre1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a635fc51fd62af6bc2a648afb67f7123c0151d3;p=thirdparty%2Fchrony.git sourcestats: reorder arguments to DEBUG_LOG in SST_IsGoodSample The delay_increase and allowed_increase variables are backwards with respect to the ordering of the words in the message. --- diff --git a/sourcestats.c b/sourcestats.c index c216e031..d3dea69c 100644 --- a/sourcestats.c +++ b/sourcestats.c @@ -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; }