Blame SOURCES/0011-pef-missing-newline.patch

bb166e
From a365e624fff752bfe79438f6c177399492ccfdde Mon Sep 17 00:00:00 2001
bb166e
From: Vaclav Dolezal <vdolezal@redhat.com>
bb166e
Date: Fri, 1 Mar 2019 14:46:12 +0100
bb166e
Subject: [PATCH] Fix "ipmitool pef {status,info}" not printing final newline
bb166e
bb166e
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
bb166e
---
bb166e
 lib/ipmi_pef.c | 2 ++
bb166e
 1 file changed, 2 insertions(+)
bb166e
bb166e
diff --git a/lib/ipmi_pef.c b/lib/ipmi_pef.c
bb166e
index bbf25f2..4be749e 100644
bb166e
--- a/lib/ipmi_pef.c
bb166e
+++ b/lib/ipmi_pef.c
bb166e
@@ -1183,6 +1183,7 @@ ipmi_pef2_get_info(struct ipmi_intf *intf)
bb166e
 		ipmi_pef_print_guid(guid_ptr);
bb166e
 	}
bb166e
 	ipmi_pef_print_flags(&pef_b2s_actions, P_SUPP, pcap.actions);
bb166e
+	putchar('\n');
bb166e
 	return 0;
bb166e
 }
bb166e
 
bb166e
@@ -1242,6 +1243,7 @@ ipmi_pef2_get_status(struct ipmi_intf *intf)
bb166e
 		return (-1);
bb166e
 	}
bb166e
 	ipmi_pef_print_flags(&pef_b2s_actions, P_ACTV, rsp->data[1]);
bb166e
+	putchar('\n');
bb166e
 	return 0;
bb166e
 }
bb166e
 
bb166e
-- 
bb166e
2.25.4
bb166e