The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=460f0aaf7b6ff3c57131b1c09cc5e1bb8318c539
commit 460f0aaf7b6ff3c57131b1c09cc5e1bb8318c539 Author: Kristof Provost <[email protected]> AuthorDate: 2023-05-30 19:29:24 +0000 Commit: Kristof Provost <[email protected]> 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)
