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