]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix missing format specifier to msyslog in Windows port.
authorDave Hart <hart@ntp.org>
Wed, 22 Feb 2023 06:00:47 +0000 (01:00 -0500)
committerDave Hart <hart@ntp.org>
Wed, 22 Feb 2023 06:00:47 +0000 (01:00 -0500)
Comment clarification in ntp_proto.c

bk: 63f5af8fiBO5w1cijX-kWCjYoTdvdA

ntpd/ntp_proto.c
ports/winnt/ntpd/ntp_iocompletionport.c

index 5812cb9dedebf1842439344b76477c6f391bc95d..3edbb3594d97e6d842ad9f18f40203b3d372e504 100644 (file)
@@ -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)
 
index 0931b0a5a28a63b00c6c9d76f9c9975f4598fbb6..5852b111736423bf13331c459734a9a9a8c34b9e 100644 (file)
@@ -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;
        }