Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2022 18:21:29 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ec004c5779dc - stable/13 - ntp: disable format string warnings in libopts
Message-ID:  <202205031821.243ILTrV025839@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=ec004c5779dc7e9096b27793eae143a936627985

commit ec004c5779dc7e9096b27793eae143a936627985
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-02-27 19:21:12 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-05-03 18:20:44 +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
    
    (cherry picked from commit 1ffe6d7909109e22d5dbd9369b00900b00b1169b)
---
 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?202205031821.243ILTrV025839>