Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2022 21:31:08 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1ffe6d790910 - main - ntp: disable format string warnings in libopts
Message-ID:  <202202272131.21RLV8iT026105@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202272131.21RLV8iT026105>