]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
refclock: fix compiler warning on FreeBSD
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 30 Aug 2018 09:32:11 +0000 (11:32 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 30 Aug 2018 09:56:13 +0000 (11:56 +0200)
refclock_pps.c

index f72e80f4e41c9393b0854ac38ed0cf130cbacdfe..85ff9e93660be2a0a1cb02f5e511a9593bbffd3d 100644 (file)
@@ -147,7 +147,7 @@ static int pps_poll(RCL_Instance instance)
 
   if (seq == pps->last_seq || UTI_IsZeroTimespec(&ts)) {
     DEBUG_LOG("PPS sample ignored seq=%lu ts=%s",
-              seq, UTI_TimespecToString(&ts));
+              (unsigned long)seq, UTI_TimespecToString(&ts));
     return 0;
   }