diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-02-12 13:12:31 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-02-12 13:12:31 +0000 |
commit | c1d89d66bb489700d0234411b94c90ab665d54d6 (patch) | |
tree | 74e0b252e9523dd8fdb03bb986fc59c80ca07109 | |
parent | d208ad5675ca2ae04d5eec933cd01095011d5b4e (diff) |
Fix some log_warn() messages.
-rw-r--r-- | usr.sbin/bgpd/mrt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bgpd/mrt.c b/usr.sbin/bgpd/mrt.c index 9fca2272a08..baeefc93178 100644 --- a/usr.sbin/bgpd/mrt.c +++ b/usr.sbin/bgpd/mrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mrt.c,v 1.50 2006/02/08 14:49:58 claudio Exp $ */ +/* $OpenBSD: mrt.c,v 1.51 2007/02/12 13:12:30 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -404,25 +404,25 @@ mrt_dump_entry_mp(struct mrt *mrt, struct prefix *p, u_int16_t snum, } if ((bptr = buf_reserve(buf, p_len)) == NULL) { - log_warnx("mrt_dump_entry_mpbuf_reserve error"); + log_warnx("mrt_dump_entry_mp: buf_reserve error"); buf_free(buf); return (-1); } if (prefix_write(bptr, p_len, &addr, p->prefix->prefixlen) == -1) { - log_warnx("mrt_dump_entry_mpprefix_write error"); + log_warnx("mrt_dump_entry_mp: prefix_write error"); buf_free(buf); return (-1); } DUMP_SHORT(buf, attr_len); if ((bptr = buf_reserve(buf, attr_len)) == NULL) { - log_warnx("mrt_dump_entry_mpbuf_reserve error"); + log_warnx("mrt_dump_entry_mp: buf_reserve error"); buf_free(buf); return (-1); } if (mrt_attr_dump(bptr, attr_len, p->aspath, NULL) == -1) { - log_warnx("mrt_dump_entry_mpmrt_attr_dump error"); + log_warnx("mrt_dump_entry_mp: mrt_attr_dump error"); buf_free(buf); return (-1); } |