[Git][NTPsec/ntpsec][master] Fix format errors in ntpd/ntp_packetstamp.c

Hal Murray (@hal.murray) gitlab at mg.gitlab.com
Sat Apr 5 21:27:47 UTC 2025



Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
4f865c46 by Hal Murray at 2025-04-05T14:26:26-07:00
Fix format errors in ntpd/ntp_packetstamp.c

- - - - -


1 changed file:

- ntpd/ntp_packetstamp.c


Changes:

=====================================
ntpd/ntp_packetstamp.c
=====================================
@@ -360,8 +360,10 @@ fetch_packetstamp(
                 // debug
                 snprintf(errbuf, sizeof(errbuf),
                         "fetch_timestamp: sizeof(size_t) %lu, sizeof(int) %lu "
-                        "sizeof(cmsghdr) %lu'n",
-                        sizeof(size_t), sizeof(int), sizeof(struct cmsghdr));
+                        "sizeof(cmsghdr) %lu\n",
+                        (unsigned long)sizeof(size_t),
+			(unsigned long)sizeof(int),
+			(unsigned long)sizeof(struct cmsghdr));
 		DPRINT(4, ("%s", errbuf));
 		msyslog(LOG_ERR, "ERR: %s", errbuf);
                 // debug



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/4f865c468de44118cf72f0dad7638fb068029b25

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/4f865c468de44118cf72f0dad7638fb068029b25
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20250405/c45e9c6d/attachment.htm>


More information about the vc mailing list