summaryrefslogtreecommitdiffstats
path: root/storagehandler.C
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2015-10-31 20:43:19 -0500
committerPatrick Williams <patrick@stwcx.xyz>2015-10-31 20:43:19 -0500
commit2dbfa7e2ef3b74aad3391b6f8170f7f870e2ef71 (patch)
tree95d868e386ccb588b70e4485bf451f57f496c08f /storagehandler.C
parent5f9d5af9f0c38b75996877599fa7234f527ef5a8 (diff)
parent313d95b4905d4790fa43194117999e0210d44594 (diff)
downloadphosphor-host-ipmid-2dbfa7e2ef3b74aad3391b6f8170f7f870e2ef71.tar.gz
phosphor-host-ipmid-2dbfa7e2ef3b74aad3391b6f8170f7f870e2ef71.zip
Merge pull request #30 from causten/eseladd
add sel not sending log
Diffstat (limited to 'storagehandler.C')
-rw-r--r--storagehandler.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/storagehandler.C b/storagehandler.C
index aa80730..eee9540 100644
--- a/storagehandler.C
+++ b/storagehandler.C
@@ -116,7 +116,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[2] << 8) | p->eventdata[1];
+ recordid = ((uint16_t)p->eventdata[1] << 8) | p->eventdata[2];
printf("IPMI Handling ADD-SEL for record 0x%04x\n", recordid);
OpenPOWER on IntegriCloud