From 7a5bf09cbbad76571b3b8109296125c43999e2ac Mon Sep 17 00:00:00 2001 From: Chad Loder Date: Thu, 2 Jun 2005 15:07:03 +0000 Subject: Use the correct pointer when printing out the error message. OK henning --- usr.sbin/bgpd/session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/bgpd') 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 @@ -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) -- cgit v1.2.3