git: 1ffe6d790910 - main - ntp: disable format string warnings in libopts
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Feb 2022 21:31:08 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=1ffe6d7909109e22d5dbd9369b00900b00b1169b
commit 1ffe6d7909109e22d5dbd9369b00900b00b1169b
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-02-27 19:21:12 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-02-27 21:31:01 +0000
ntp: disable format string warnings in libopts
libopts uses generated format string tables that contain embedded NULs.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34386
---
usr.sbin/ntp/libopts/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/usr.sbin/ntp/libopts/Makefile b/usr.sbin/ntp/libopts/Makefile
index 7c10182cbaec..17fe6783b3cb 100644
--- a/usr.sbin/ntp/libopts/Makefile
+++ b/usr.sbin/ntp/libopts/Makefile
@@ -5,6 +5,9 @@
LIB= opts
INTERNALLIB=
+# XXX libopts uses generated format string tables containing embedded NULs.
+NO_WFORMAT=
+
SRCS= libopts.c
CFLAGS+= -I${SRCTOP}/contrib/ntp/include \