[Git][NTPsec/ntpsec][master] ntpd/keyword-gen.c: fix gcc warnings about mis-use of printf().

Gary E. Miller (@garyedmundsmiller) gitlab at mg.gitlab.com
Wed Jul 15 03:04:06 UTC 2026



Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
ae0eeaec by Gary E. Miller at 2026-07-14T20:03:28-07:00
ntpd/keyword-gen.c: fix gcc warnings about mis-use of printf().

- - - - -


1 changed file:

- ntpd/keyword-gen.c


Changes:

=====================================
ntpd/keyword-gen.c
=====================================
@@ -283,7 +283,7 @@ generate_preamble(void)
 "#include \"ntp_scanner.h\"\n"
 "#include \"ntp_parser.tab.h\"\n"
 "\n";
-	printf(preamble);
+	puts(preamble);
 }
 
 



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

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/ae0eeaecc3d42c900dba12cba0561555c513b570
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help


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


More information about the vc mailing list