]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ntp_proto.c:receive(): Fix typos in 2 diagnostic debug lines
authorHarlan Stenn <stenn@ntp.org>
Fri, 16 Feb 2018 10:45:50 +0000 (02:45 -0800)
committerHarlan Stenn <stenn@ntp.org>
Fri, 16 Feb 2018 10:45:50 +0000 (02:45 -0800)
bk: 5a86b65eFOzUCKLBNUqH4JhbigvYWg

ntpd/ntp_proto.c

index 021d7f0aa1c283e58a20086934d22bb120eeb187..fb8a837db5c2c255d8f65a83ce5f84e96e205619 100644 (file)
@@ -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;