From: claudio Date: Fri, 2 Feb 2024 16:10:33 +0000 (+0000) Subject: Cleanup a couple of fatal messages to be less bad. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e83bb2c891bcc0d0b4fa02895d547db569435365;p=openbsd Cleanup a couple of fatal messages to be less bad. --- diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 17d357c5999..0b62f8cc5dc 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.620 2024/01/30 13:50:09 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.621 2024/02/02 16:10:33 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -2484,7 +2484,7 @@ rde_update_err(struct rde_peer *peer, uint8_t error, uint8_t suberr, fatal("%s %d imsg_add error", __func__, __LINE__); if (opt != NULL) if (ibuf_add_ibuf(wbuf, opt) == -1) - fatal("%s %d imsg_add error", __func__, __LINE__); + fatal("%s %d ibuf_add_ibuf error", __func__, __LINE__); imsg_close(ibuf_se, wbuf); peer->state = PEER_ERR; } @@ -4244,8 +4244,7 @@ rde_peer_send_eor(struct rde_peer *peer, uint8_t aid) if (imsg_compose(ibuf_se, IMSG_UPDATE, peer->conf.id, 0, -1, &buf, 10) == -1) - fatal("%s %d imsg_compose error in peer_send_eor", - __func__, __LINE__); + fatal("%s %d imsg_compose error", __func__, __LINE__); } log_peer_info(&peer->conf, "sending %s EOR marker",