summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2012-05-22 20:38:17 +0000
committerclaudio <claudio@openbsd.org>2012-05-22 20:38:17 +0000
commitdfe12af87db9686c898ea9ab30f18e0458f9e1e4 (patch)
tree5b50c2a7cbb332d7e98271a1487a7a4cf163a748
parentDocument that ftell() may return EOVERFLOW. (diff)
downloadwireguard-openbsd-dfe12af87db9686c898ea9ab30f18e0458f9e1e4.tar.xz
wireguard-openbsd-dfe12af87db9686c898ea9ab30f18e0458f9e1e4.zip
Fix a warning message to print the correct information. OK henning@ sthen@
-rw-r--r--usr.sbin/bgpd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index d943d3f0ef7..309d9c1e899 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.314 2012/04/12 17:31:05 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.315 2012/05/22 20:38:17 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -3074,7 +3074,7 @@ peer_up(u_int32_t id, struct session_up *sup)
peer = peer_get(id);
if (peer == NULL) {
- log_warnx("peer_up: peer id %d already exists", id);
+ log_warnx("peer_up: unknown peer id %d", id);
return;
}