From 2d7da8735d2d1d45618e68d2aff33c71972b9b54 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 10 Jan 2024 14:59:41 +0000 Subject: [PATCH] Add missing newlines in printf. --- usr.sbin/bgpctl/output.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/bgpctl/output.c b/usr.sbin/bgpctl/output.c index 9c8ba257d02..f68b73d60a6 100644 --- a/usr.sbin/bgpctl/output.c +++ b/usr.sbin/bgpctl/output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output.c,v 1.43 2023/12/19 10:32:20 claudio Exp $ */ +/* $OpenBSD: output.c,v 1.44 2024/01/10 14:59:41 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer @@ -1185,14 +1185,14 @@ show_rtr(struct ctl_show_rtr *rtr) printf(" Last sent error: %s\n", log_rtr_error(rtr->last_sent_error)); if (rtr->last_sent_msg[0]) - printf(" with reason \"%s\"", + printf(" with reason \"%s\"\n", log_reason(rtr->last_sent_msg)); } if (rtr->last_recv_error != NO_ERROR) { printf(" Last received error: %s\n", log_rtr_error(rtr->last_recv_error)); if (rtr->last_recv_msg[0]) - printf(" with reason \"%s\"", + printf(" with reason \"%s\"\n", log_reason(rtr->last_recv_msg)); } -- 2.20.1