From: Dave Hart Date: Wed, 22 Feb 2023 06:00:47 +0000 (-0500) Subject: Fix missing format specifier to msyslog in Windows port. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fa43ac657f0c6a0142c23e91fe8ca35537f516c;p=thirdparty%2Fntp.git Fix missing format specifier to msyslog in Windows port. Comment clarification in ntp_proto.c bk: 63f5af8fiBO5w1cijX-kWCjYoTdvdA --- diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index 5812cb9de..3edbb3594 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -87,7 +87,7 @@ nak_error_codes { #define POOL_SOLICIT_WINDOW 8 /* - * flag bits propagated from pool to individual peers + * flag bits propagated from pool/manycast to individual peers */ #define POOL_FLAG_PMASK (FLAG_IBURST | FLAG_NOSELECT) diff --git a/ports/winnt/ntpd/ntp_iocompletionport.c b/ports/winnt/ntpd/ntp_iocompletionport.c index 0931b0a5a..5852b1117 100644 --- a/ports/winnt/ntpd/ntp_iocompletionport.c +++ b/ports/winnt/ntpd/ntp_iocompletionport.c @@ -1407,7 +1407,7 @@ io_completion_port_add_clock_io( } if (NULL == (lpo = IoCtxAlloc(iopad, rio->device_ctx))) { - msyslog(LOG_ERR, "%: no IO context: %m", msgh); + msyslog(LOG_ERR, "%s: no IO context: %m", msgh); goto fail; }