[PATCH phosphor-host-ipmid] resolved file not found for adding new log
OpenBMC Patches
patches at stwcx.xyz
Sat Oct 31 05:52:45 AEDT 2015
From: Chris Austen <austenc at us.ibm.com>
---
storagehandler.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/storagehandler.C b/storagehandler.C
index dc0217e..359e53f 100644
--- a/storagehandler.C
+++ b/storagehandler.C
@@ -182,7 +182,7 @@ ipmi_ret_t ipmi_storage_add_sel(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
ipmi_add_sel_request_t *p = (ipmi_add_sel_request_t*) request;
uint16_t recordid;
- recordid = ((uint16_t)p->eventdata[1] << 8) | p->eventdata[2];
+ recordid = ((uint16_t)p->eventdata[2] << 8) | p->eventdata[1];
printf("IPMI Handling ADD-SEL for record 0x%04x\n", recordid);
--
2.6.0
More information about the openbmc
mailing list