diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-06-26 00:01:52 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-06-26 00:01:52 +0000 |
commit | d6362d3eb66e5911d545c27e2c826a25d8208254 (patch) | |
tree | 25b98cd91fef0516096627bab337af1f147a81f0 | |
parent | 401dad7b7ed83f5ed55609b74351bd296b4908c0 (diff) |
fatalx instead of fatal because errno is not set of pipe is closed. OK henning
-rw-r--r-- | usr.sbin/bgpd/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 031312f19cc..724e2c2094a 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.281 2008/05/08 07:43:02 henning Exp $ */ +/* $OpenBSD: session.c,v 1.282 2008/06/26 00:01:51 claudio Exp $ */ /* * Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org> @@ -2259,7 +2259,7 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx, u_int *listener_cnt) fatal("session_dispatch_imsg: imsg_read error"); if (n == 0) /* connection closed */ - fatal("session_dispatch_imsg: pipe closed"); + fatalx("session_dispatch_imsg: pipe closed"); for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) |