summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-06-02 15:07:03 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-06-02 15:07:03 +0000
commit7a5bf09cbbad76571b3b8109296125c43999e2ac (patch)
treeb743de0cc7af33048d65e9513ce248d3cb49a2d7 /usr.sbin
parentb22e266f0b3649a4242715bf44fe6273c2362ec9 (diff)
Use the correct pointer when printing out the error message. OK henning
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 682c79a6218..f2e171c0fec 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.219 2005/05/24 17:30:37 claudio Exp $ */
+/* $OpenBSD: session.c,v 1.220 2005/06/02 15:07:02 cloder Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -2119,7 +2119,7 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx, u_int *listener_cnt)
log_warnx("expected to receive fd for "
"%s but didn't receive any",
log_sockaddr((struct sockaddr *)
- &la->sa));
+ &nla->sa));
la = calloc(1, sizeof(struct listen_addr));
if (la == NULL)