Index: pfctl.c
===================================================================
RCS file: /cvs/src/sbin/pfctl/pfctl.c,v
retrieving revision 1.338
diff -u -p -r1.338 pfctl.c
--- pfctl.c 26 Jan 2017 08:24:34 -0000 1.338
+++ pfctl.c 25 Mar 2017 11:37:01 -0000
@@ -753,7 +753,7 @@ pfctl_show_rules(int dev, char *path, in
memset(&pr, 0, sizeof(pr));
if (anchorname[0] == '/') {
if ((npath = calloc(1, PATH_MAX)) == NULL)
- errx(1, "pfctl_rules: calloc");
+ errx(1, "pfctl_show_rules: calloc");
strlcpy(npath, anchorname, PATH_MAX);
} else {
if (path[0])