diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-02-01 20:27:38 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-02-01 20:27:38 +0000 |
commit | e7c3daa61d862b8920dd6c721a4707dddfdbe15a (patch) | |
tree | 458e398bbd0d6aa9ba7ac36ade450e1234563559 /usr.sbin | |
parent | 46916cfa3030ecdd425a21f5c24dd678f3ebc921 (diff) |
Correct function name in err() message.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpctl/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c index 032347ef61d..de895e18f30 100644 --- a/usr.sbin/bgpctl/parser.c +++ b/usr.sbin/bgpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.36 2007/01/31 09:12:24 claudio Exp $ */ +/* $OpenBSD: parser.c,v 1.37 2007/02/01 20:27:37 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -580,7 +580,7 @@ parse_prefix(const char *word, struct bgpd_addr *addr, u_int8_t *prefixlen) errx(1, "invalid netmask: %s", errstr); if ((ps = malloc(strlen(word) - strlen(p) + 1)) == NULL) - err(1, "host: malloc"); + err(1, "parse_prefix: malloc"); strlcpy(ps, word, strlen(word) - strlen(p) + 1); if (parse_addr(ps, addr) == 0) |