mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 04:45:07 -05:00
sources: use correct specifier for refid in debug message
This commit is contained in:
@@ -908,7 +908,7 @@ SRC_SelectSource(SRC_Instance updated_inst)
|
|||||||
sources[i]->sel_score = 1.0 / distance;
|
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]->sel_score, sources[i]->ref_id, updated_inst ? updated_inst->ref_id : 0,
|
||||||
sources[i]->status, distance);
|
sources[i]->status, distance);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user