mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 04:15:07 -05:00
refclock: use UTI_TimespecToString() in debug message
This commit is contained in:
@@ -146,8 +146,8 @@ static int pps_poll(RCL_Instance instance)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (seq == pps->last_seq || UTI_IsZeroTimespec(&ts)) {
|
if (seq == pps->last_seq || UTI_IsZeroTimespec(&ts)) {
|
||||||
DEBUG_LOG(LOGF_Refclock, "PPS sample ignored seq=%lu ts=%lu.%09lu",
|
DEBUG_LOG(LOGF_Refclock, "PPS sample ignored seq=%lu ts=%s",
|
||||||
seq, ts.tv_sec, ts.tv_nsec);
|
seq, UTI_TimespecToString(&ts));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user