mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 22:35:06 -05:00
refclock: fix compiler warning in SOCK error message
This commit is contained in:
@@ -64,7 +64,7 @@ static void read_sample(void *anything)
|
|||||||
|
|
||||||
if (s != sizeof (sample)) {
|
if (s != sizeof (sample)) {
|
||||||
LOG(LOGS_WARN, LOGF_Refclock, "Unexpected length of SOCK sample : %d != %ld",
|
LOG(LOGS_WARN, LOGF_Refclock, "Unexpected length of SOCK sample : %d != %ld",
|
||||||
s, sizeof (sample));
|
s, (long)sizeof (sample));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user