The branch main has been updated by kp:

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

commit 881c36681d9deabd69b87c4d533ec683965e106b
Author:     Kristof Provost <k...@freebsd.org>
AuthorDate: 2025-07-03 12:48:07 +0000
Commit:     Kristof Provost <k...@freebsd.org>
CommitDate: 2025-07-09 08:57:49 +0000

    pfctl: Fix function name in error message (zap trailing s)
    
    Obtained from:  OpenBSD, kn <k...@openbsd.org>, 5b2c7c2215
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sbin/pfctl/pfctl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index defba3b56c44..8c6d6833dd3b 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -2038,8 +2038,8 @@ pfctl_load_ruleset(struct pfctl *pf, char *path, struct 
pfctl_ruleset *rs,
                        if ((pf->opts & PF_OPT_NOACTION) == 0 &&
                            (error = pfctl_ruleset_trans(pf,
                            path, rs->anchor, false))) {
-                               printf("pfctl_load_rulesets: "
-                                   "pfctl_ruleset_trans %d\n", error);
+                               printf("%s: "
+                                   "pfctl_ruleset_trans %d\n", __func__, 
error);
                                goto error;
                        }
                } else if (pf->opts & PF_OPT_VERBOSE)

Reply via email to