aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/ntpd/refclock_parse.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2016-06-03 08:00:22 +0000
committerXin LI <delphij@FreeBSD.org>2016-06-03 08:00:22 +0000
commite27abb6689c5733dd08ce240d5402a0de3a42254 (patch)
tree042fe6d27b8d21e4a753d870e62e6ddf906a9a7b /contrib/ntp/ntpd/refclock_parse.c
parent273e31638fa2e2e6ea449bbf2c90383e8a41ecc9 (diff)
parent6f73e3f459be43eacfd7662c4e59fba1a872de0e (diff)
MFV r301238:
ntp 4.2.8p8. Security: CVE-2016-4957, CVE-2016-4953, CVE-2016-4954 Security: CVE-2016-4955, CVE-2016-4956 Security: FreeBSD-SA-16:24.ntp With hat: so
Notes
Notes: svn path=/head/; revision=301247
Diffstat (limited to 'contrib/ntp/ntpd/refclock_parse.c')
-rw-r--r--contrib/ntp/ntpd/refclock_parse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/ntp/ntpd/refclock_parse.c b/contrib/ntp/ntpd/refclock_parse.c
index eb69dcb16bc8..aa9d2f2c68bf 100644
--- a/contrib/ntp/ntpd/refclock_parse.c
+++ b/contrib/ntp/ntpd/refclock_parse.c
@@ -2264,8 +2264,8 @@ local_input(
if (debug > 3)
{
printf(
- "parse: local_receive: fd %d PPSAPI seq %ld - PPS %s\n",
- rbufp->fd,
+ "parse: local_receive: fd %ld PPSAPI seq %ld - PPS %s\n",
+ (long)rbufp->fd,
(long)pps_info.assert_sequence + (long)pps_info.clear_sequence,
lfptoa(&parse->parseio.parse_dtime.parse_ptime.fp, 6));
}
@@ -2277,8 +2277,8 @@ local_input(
if (debug > 3)
{
printf(
- "parse: local_receive: fd %d PPSAPI seq assert %ld, seq clear %ld - NO PPS event\n",
- rbufp->fd,
+ "parse: local_receive: fd %ld PPSAPI seq assert %ld, seq clear %ld - NO PPS event\n",
+ (long)rbufp->fd,
(long)pps_info.assert_sequence, (long)pps_info.clear_sequence);
}
}
@@ -2291,8 +2291,8 @@ local_input(
if (debug > 3)
{
printf(
- "parse: local_receive: fd %d PPSAPI time_pps_fetch errno = %d\n",
- rbufp->fd,
+ "parse: local_receive: fd %ld PPSAPI time_pps_fetch errno = %d\n",
+ (long)rbufp->fd,
errno);
}
}