From 65767611a11e4c87afe6427b29a7a529d23dd612 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 28 Oct 2009 12:41:17 +0000 Subject: Correct function name in err and errx. --- sbin/pfctl/parse.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin/pfctl/parse.y') diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index c6d1a164bb5..767fcc38819 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.570 2009/10/04 16:08:37 michele Exp $ */ +/* $OpenBSD: parse.y,v 1.571 2009/10/28 12:41:16 claudio Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -4521,12 +4521,12 @@ apply_redirspec(struct pf_pool *rpool, struct pf_rule *r, struct redirspec *rs, TAILQ_INIT(&rpool->list); for (h = rs->rdr->host; h != NULL; h = h->next) { if ((pa = calloc(1, sizeof(struct pf_pooladdr))) == NULL) - err(1, "expand_rule: calloc"); + err(1, "apply_redirspec: calloc"); pa->addr = h->addr; if (h->ifname != NULL) { if (strlcpy(pa->ifname, h->ifname, sizeof pa->ifname) >= sizeof(pa->ifname)) - errx(1, "expand_rule: strlcpy"); + errx(1, "apply_redirspec: strlcpy"); } else pa->ifname[0] = 0; TAILQ_INSERT_TAIL(&rpool->list, pa, entries); -- cgit v1.2.3