diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-10-28 12:41:17 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-10-28 12:41:17 +0000 |
commit | 65767611a11e4c87afe6427b29a7a529d23dd612 (patch) | |
tree | ec369336e5a588d5dde297ca1c192d504a51b950 /sbin | |
parent | 84a8b61a6fb69145bb5ef79bef05a03ed0cd510c (diff) |
Correct function name in err and errx.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
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); |