From nobody Tue Nov 22 19:12:15 2022 X-Original-To: dev-commits-src-main@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 4NGv5X1xMbz4hM6m; Tue, 22 Nov 2022 19:12:16 +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 4NGv5X1DMtz3t09; Tue, 22 Nov 2022 19:12:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669144336; 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=3VfOm5VQwMVDkqXAlfLKKh5+m76hrOoMVLw6gHLl+zc=; b=ZD9G2WLeFBJ4bupm1cCOIHh3WEcJE5V5F1dj1vv9so+YZmT89Vhe8wPT1YnpyDI3Yw5QHf PMFpuHgWmYwsrOYTDbL6KfStay0/ipwOOL0S+h5JewPyoXArlQFFNlKih7BFrA5QKlQjQJ 1ueDxdaRy+93ag8S+j3E3SO8yYhoCYizVtypKX+ZDMZsxH9CtXvR3uU1U16my1uVSaNkVm 9ydQac2wk9Mq1st2BDyBsQQLuvptKEnnzq1CwQusV7n9WpiZdrcp91OV3oQcXjlI7Bozzp GMaWomKAW8cHRyZdke8bu6W8M2u3BeA7NiAXz5B0b/IGcVnKRUqiK+2Df9YYnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669144336; 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=3VfOm5VQwMVDkqXAlfLKKh5+m76hrOoMVLw6gHLl+zc=; b=AzHwjpZ3o9Q9SYPShkWHEe/LSt8A6RR7vphDE2tcuNfUAj5MUsCzwL/dgT2PNu4wyHqOCq I3eyitHG1TKRT65XgvVeUfjzCKjNjq0RC4Htb+PzFw9PuEO7v7nkaE06kCAnC+rP85SEQ0 ZRYo5UzvcYEg+uGNOHvV1U6dYco87ZAm9acl50rBFl9Sf7thbkls87L2UvnuzuJHVLF8Jp xm5k4+7DPJhbN4w5MxxKwt5GRgieP1LOwP1xaSe+HeNuUR+Si9+qzDymv2ymREN/8rM/y/ Drwi79zVmzItNJ/KsmKAkr+9ybEy6WN2jQltYjlcD+dYQmuQUQFS0sCy+BzzSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669144336; a=rsa-sha256; cv=none; b=PvZjvmnYKATr4Xw9tE6IIaiHwMd/jJ2wdvCb2agCbVDBUQFprgEukpTgAJbPh88mGPEzHu Rs2RF/akvi/nWVdLIbrxfSyw8r7KFTSJ6gzd2MXVHC34qwJu0uB8GHVvJ3lVbuEo6/eZXJ jVZR0k9QMz+oSNw2x4OPjuK00SxUjny+Xlmc8BBYhkpuSfj6tlERfYoyiv1Nt+gzxbtW7B Npt16bB1sXF2L307ib/PS1+bW5ZGl+IOktuiHB7UQw0bt7beUdwRfNGnAFfsGvVbgIL/lW QZsqLjpTp3+lqqWMGaYIBwOa4yX1BMeTXx+xyPqsLhYox7d3O5O9s0bjXy5N+A== 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 4NGv5W6yG1ztkL; Tue, 22 Nov 2022 19:12:15 +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 2AMJCF8t081904; Tue, 22 Nov 2022 19:12:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AMJCFuZ081903; Tue, 22 Nov 2022 19:12:15 GMT (envelope-from git) Date: Tue, 22 Nov 2022 19:12:15 GMT Message-Id: <202211221912.2AMJCFuZ081903@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: fd5882e1f2ca - main - tftpd: Disable -Wformat-nonliteral for GCC. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd5882e1f2cab4c3508c3041dcf84864076055ed Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=fd5882e1f2cab4c3508c3041dcf84864076055ed commit fd5882e1f2cab4c3508c3041dcf84864076055ed Author: John Baldwin AuthorDate: 2022-11-22 19:12:06 +0000 Commit: John Baldwin CommitDate: 2022-11-22 19:12:06 +0000 tftpd: Disable -Wformat-nonliteral for GCC. GCC warns about the non-literal format string passed to strftime(). A warning here seems a bit odd as strftime() does not take varargs so there is not a risk of missing args. --- libexec/tftpd/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libexec/tftpd/Makefile b/libexec/tftpd/Makefile index d94df7c27074..be0457828cf3 100644 --- a/libexec/tftpd/Makefile +++ b/libexec/tftpd/Makefile @@ -13,6 +13,8 @@ CFLAGS+= -DLIBWRAP LIBADD= wrap .endif +CWARNFLAGS.gcc+= -Wno-format-nonliteral + HAS_TESTS= SUBDIR.${MK_TESTS}+= tests