summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2019-11-27 19:42:56 +0000
committerkn <kn@openbsd.org>2019-11-27 19:42:56 +0000
commit5b2c7c22150964b4b864e3be9d79b5cb74f65287 (patch)
treeba6c7349717485818f30c7937717f3b09f97e22b
parentgo fmt (diff)
downloadwireguard-openbsd-5b2c7c22150964b4b864e3be9d79b5cb74f65287.tar.xz
wireguard-openbsd-5b2c7c22150964b4b864e3be9d79b5cb74f65287.zip
Fix function name in error message (zap trailing s)
-rw-r--r--sbin/pfctl/pfctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index bbdc507c526..d1a309d919f 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.376 2019/08/15 18:44:53 sashan Exp $ */
+/* $OpenBSD: pfctl.c,v 1.377 2019/11/27 19:42:56 kn Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1397,7 +1397,7 @@ pfctl_load_ruleset(struct pfctl *pf, char *path, struct pf_ruleset *rs,
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
(error = pfctl_ruleset_trans(pf,
path, rs->anchor))) {
- printf("pfctl_load_rulesets: "
+ printf("pfctl_load_ruleset: "
"pfctl_ruleset_trans %d\n", error);
goto error;
}