Skip to content

Commit

Permalink
core/ipmi: Print correct netfn value
Browse files Browse the repository at this point in the history
[ Upstream commit 08de14a ]

Fixes: 7516e38 (core/ipmi: Improve error message)
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
  • Loading branch information
Vasant Hegde authored and oohal committed May 9, 2019
1 parent 68acaf1 commit 65a36d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ipmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,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);
Expand Down

0 comments on commit 65a36d6

Please sign in to comment.