From: Miroslav Lichvar Date: Mon, 13 Oct 2014 10:50:44 +0000 (+0200) Subject: sources: use correct specifier for refid in debug message X-Git-Tag: 2.0-pre1~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bddaf682027a83d61eca39622b27e977c8effaa;p=thirdparty%2Fchrony.git sources: use correct specifier for refid in debug message --- diff --git a/sources.c b/sources.c index 30d6144d..67217bd1 100644 --- a/sources.c +++ b/sources.c @@ -908,7 +908,7 @@ SRC_SelectSource(SRC_Instance updated_inst) sources[i]->sel_score = 1.0 / distance; } - DEBUG_LOG(LOGF_Sources, "select score=%f refid=%x match_refid=%x status=%d dist=%f", + DEBUG_LOG(LOGF_Sources, "select score=%f refid=%"PRIx32" match_refid=%"PRIx32" status=%d dist=%f", sources[i]->sel_score, sources[i]->ref_id, updated_inst ? updated_inst->ref_id : 0, sources[i]->status, distance);