From nobody Sun Feb 27 21:31:08 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5FC0619E4791; Sun, 27 Feb 2022 21:31:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K6GsS25drz4l1m; Sun, 27 Feb 2022 21:31:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645997468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/8C7DoFswJ+XJs8gcmXFkZAcXbHCkT17WD2Bkp16SA4=; b=WJe/tVU6+eF3yQUUBQzkpbqQJM9x0XigmdmpVF5+SK0yVWFiSj7i21MG1GM8hriSdi6A2i fCFhQhCv9m4WOE7IBdaFXc0ARqhxkq09yvLp040+v55Rj81IE1SOmeT9l+CRQ1kpT1zPbV qhWXubL0fAvljPAQgjASgH9IL5b9R0IOQ2lwzBxoyp1Swi4sZUZjWnd5uWAG6ctPNX0rzX k7EJDjSETt6UGeFbx7sZsmtsbQrI+c7QpU0K2rcwnrJgmWFe4pNX5uftaRDuioMcj+mUiK uUA1YVUMN6fSEjso4nA1vyt50pnvQPIdKB1dmuzD6zbkzyd7a7kiiU0p6lA/uw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 290026CB7; Sun, 27 Feb 2022 21:31:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21RLV8XZ026106; Sun, 27 Feb 2022 21:31:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21RLV8iT026105; Sun, 27 Feb 2022 21:31:08 GMT (envelope-from git) Date: Sun, 27 Feb 2022 21:31:08 GMT Message-Id: <202202272131.21RLV8iT026105@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 1ffe6d790910 - main - ntp: disable format string warnings in libopts List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1ffe6d7909109e22d5dbd9369b00900b00b1169b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645997468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/8C7DoFswJ+XJs8gcmXFkZAcXbHCkT17WD2Bkp16SA4=; b=pFTotffsi+0HniftyJQ8g6QElBpUkhFcA20/CVRaK2OBUzYQFEXArXpKe48DnlrTa2KlAQ F1KTlU1ElLpoRmvYK7XOxFr9KWgGQXdTRI17+1iDrZ+nFacAhK46l95KjGKAcOATX/HgYT z9bhSfHYftFRS8ssRO6V4qw3ew38iC4qW8pE+tPmfuWp4vc4sizkwn2Yu5Pf7IKmNreKSx xaclHCB0fGgwNN+A2yG1epjl0Xyhp2a1HkKqu4d7tp68/PynodIaYANMl3hBredRNKDhO8 JsYQqXYDtP1jypMezVUmQJw5NIIMMh13K/j0AFLCmLCo6wdqXmsxbOJdf2X6UQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645997468; a=rsa-sha256; cv=none; b=TNTjYL2GqbeIEfBusJX/z6QMcumMVCwgvtMio4XDRDMLnUvPu5fYIInRAaIUqX89P5QKH+ Ao9tUK6UqQqOD1Ho0BYsG8GjWW+7PmP8yR0Nymu3BNBXsj6aCIJaCdCE2/EU5jA6IhCUZ4 B3pUyCCLhP7hLa/+lZlQ2EUrLi7Qh7nJcl4bed1ZgvRFs41LeCNMtwu8G4jtj2JjHCPhO9 d/gfu9evxNeIdrjjHSTOGYb9NDUK1I4PLGk6XNq1mhXyFSbBPK5/2x2PwOnk4iSlwYwCAv 8tMwQ6Q8D6pqzt45kJVigTqC/ivOd2BkDfp1fRKsM0jUDcMTU2Tz8/pYxqLeNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=1ffe6d7909109e22d5dbd9369b00900b00b1169b commit 1ffe6d7909109e22d5dbd9369b00900b00b1169b Author: Ed Maste AuthorDate: 2022-02-27 19:21:12 +0000 Commit: Ed Maste 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 \