diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2019-03-21 15:47:15 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-03-28 15:24:12 +1100 |
commit | 08de14aaa937ad703182302470c3525bb328b6de (patch) | |
tree | abe335c5209aebdf8b34fd5b7be5c1e0317e2761 /core | |
parent | edf7e841ff9d7ff1aef5518317319936fa362f11 (diff) | |
download | skiboot-08de14aaa937ad703182302470c3525bb328b6de.zip skiboot-08de14aaa937ad703182302470c3525bb328b6de.tar.gz skiboot-08de14aaa937ad703182302470c3525bb328b6de.tar.bz2 |
core/ipmi: Print correct netfn value
Fixes: 7516e382 (core/ipmi: Improve error message)
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/ipmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ipmi.c b/core/ipmi.c index 599d2e9..2bf3f4d 100644 --- a/core/ipmi.c +++ b/core/ipmi.c @@ -149,7 +149,7 @@ void ipmi_cmd_done(uint8_t cmd, uint8_t netfn, uint8_t cc, struct ipmi_msg *msg) if (cc != IPMI_CC_NO_ERROR) { prlog(PR_DEBUG, "IPMI: Got error response. cmd=0x%x, netfn=0x%x," - " rc=0x%02x\n", msg->cmd, msg->netfn, msg->cc); + " rc=0x%02x\n", msg->cmd, msg->netfn >> 2, msg->cc); assert(msg->error); msg->error(msg); |