From nobody Fri Jun 02 14:56:31 2023 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 4QXmKr01bqz4Yfvk; Fri, 2 Jun 2023 14:56:32 +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 4QXmKq68SMz4H86; Fri, 2 Jun 2023 14:56:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685717791; 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=z6iUJvj9wI9N/q2bfDRVJF7CVPEthvOG2ymeoWit+wU=; b=I74h8pohkt6zqXHLz3NKnXwGnHyiZQ3W9hw3S0/nlSDDp2TgekVVPHysDMeo1axwto0BQf TGhRzcsBvhtT3/5qLLXPlnhdswE5dZO4BCTGqPkPHxNkOHxaOYZLjsTznizhWB3FD0aacj ZjBxRsMivI6AxxaP+TFIn5m0UWnzU2PNw2QkAg3ZQEx82C2mwJnwZoP4yHA+jgy74416pG 8hODRCbqbQqxbIZ/5hHOu51gJ1C5G0Ldc/GsZFJsJ9oSOjZoImi2Grpu4hXQkRUrGDebkW HWQ99qwk2UjhifS52dRFRrrlLKDyvoW3UlBqUBPSITgGFXlTLXp9+pc9ZpuLYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685717791; 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=z6iUJvj9wI9N/q2bfDRVJF7CVPEthvOG2ymeoWit+wU=; b=rOjTvvPg9ql3jq9kx2p4DSoOAnZbev0sDLooaiuGHpGiJ8SE+Bt78EHP3BOIzrlePMn0ij PsBgbFeZb9vDjTPpiy3G3cHTgl0fEsan3NGNCH7L2nHrjs+wcqQMt3Fo5a31LfafY+hzqR R9Gu9MuPjOktz/NeRMZmoe5A/KIZJoPoSuMXZBIB7SBb+NK2mNe05tBlX+tdKW8Rs+Y1Wx 8ZqJoOO2dpSldlFSGs8f96foUJEmfrNvCVjZMvtqINx5IThwpRqjLTp0vRmc69yka5Hg+p mZgv0najXxGQdLGmxBW8R9fxuIDQdgeeKjDLew5TPjTaLqENWNKqBDGVxq3APQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685717791; a=rsa-sha256; cv=none; b=yVYB6up4ut11Q5A44MV5l48aE0d25NC9DKkW+O0vAP+PbYACMz6N/AHu3QYI+eXqFN+tWY M4Qf9iiJGSr02QAqB9DADjEBfhweTgKV/Ex7sJm6tKGLlkQ1S1HoBdRn+ahBdOPbvnftIG mrAW4eY/kPBZP7+DVLRPppDtj6BOaUcUg4TjyaIRnYMKxGa3Ov5q5o0XYHUSJ8UWgqR6jM 5HgYoTwLxSz21eJLjcZl4GokvwCDrzd2TKAh0MNvV4eL029ppHomYUBoBX23jzr8knSDnD rS/V+etR0QBDCDFknZgYJT4VERrmUXjrs5mAo30anjmo4Y6hul5MrZGkhmta4g== 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 4QXmKq54Ldz13Ft; Fri, 2 Jun 2023 14:56:31 +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 352EuVgs026555; Fri, 2 Jun 2023 14:56:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 352EuVYc026554; Fri, 2 Jun 2023 14:56:31 GMT (envelope-from git) Date: Fri, 2 Jun 2023 14:56:31 GMT Message-Id: <202306021456.352EuVYc026554@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 460f0aaf7b6f - main - pf: fix log message 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: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 460f0aaf7b6ff3c57131b1c09cc5e1bb8318c539 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=460f0aaf7b6ff3c57131b1c09cc5e1bb8318c539 commit 460f0aaf7b6ff3c57131b1c09cc5e1bb8318c539 Author: Kristof Provost AuthorDate: 2023-05-30 19:29:24 +0000 Commit: Kristof Provost CommitDate: 2023-06-02 14:05:30 +0000 pf: fix log message Use __func__ so we log the correct function name. Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netpfil/pf/pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index 78bd8b1dab12..ebc201e4f5b4 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -7038,7 +7038,7 @@ pf_test_eth(int dir, int pflags, struct ifnet *ifp, struct mbuf **m0, if (kif == NULL) { DPFPRINTF(PF_DEBUG_URGENT, - ("pf_test: kif == NULL, if_xname %s\n", ifp->if_xname)); + ("%s: kif == NULL, if_xname %s\n", __func__, ifp->if_xname)); return (PF_DROP); } if (kif->pfik_flags & PFI_IFLAG_SKIP)