From: Harlan Stenn Date: Fri, 16 Feb 2018 10:45:50 +0000 (-0800) Subject: ntp_proto.c:receive(): Fix typos in 2 diagnostic debug lines X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7fa01ff3769fd370e443c59cb0931a51be9f121;p=thirdparty%2Fntp.git ntp_proto.c:receive(): Fix typos in 2 diagnostic debug lines bk: 5a86b65eFOzUCKLBNUqH4JhbigvYWg --- diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index 021d7f0aa..fb8a837db 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -1664,7 +1664,7 @@ receive( /* This is noteworthy, not error-worthy */ if (pkt->ppoll != peer->ppoll) { - msyslog(LOG_INFO, "receive: broadcast poll from %s changed from %ud to %ud", + msyslog(LOG_INFO, "receive: broadcast poll from %s changed from %u to %u", stoa(&rbufp->recv_srcadr), peer->ppoll, pkt->ppoll); } @@ -1672,7 +1672,7 @@ receive( /* This is error-worthy */ if (pkt->ppoll < peer->minpoll || pkt->ppoll > peer->maxpoll ) { - msyslog(LOG_INFO, "receive: broadcast poll of %ud from %s is out-of-range (%d to %d)!", + msyslog(LOG_INFO, "receive: broadcast poll of %u from %s is out-of-range (%d to %d)!", pkt->ppoll, stoa(&rbufp->recv_srcadr), peer->minpoll, peer->maxpoll); ++bail;