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

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