]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
sources: use correct specifier for refid in debug message
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 13 Oct 2014 10:50:44 +0000 (12:50 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 13 Oct 2014 13:10:15 +0000 (15:10 +0200)
sources.c

index 30d6144d1d110a0dbfe1b20b26a471e375e49c44..67217bd1f6f41045e681dcd9086a05819d164d54 100644 (file)
--- 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);