From 64e0b9ab640b846f7b766cf2a41bd74ac4d3b1c2 Mon Sep 17 00:00:00 2001 From: Zdenek Styblik Date: Mon, 10 Jun 2013 04:14:21 +0000 Subject: [PATCH] ID: 239 - typo in 'mc selftest', add details Commit fixes a typo and adds details to 'mc selftest' command. Commit for Rob Swindell --- ipmitool/lib/ipmi_mc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipmitool/lib/ipmi_mc.c b/ipmitool/lib/ipmi_mc.c index 09de315..2890c90 100644 --- a/ipmitool/lib/ipmi_mc.c +++ b/ipmitool/lib/ipmi_mc.c @@ -616,8 +616,8 @@ static int ipmi_mc_get_selftest(struct ipmi_intf * intf) } else { - printf("Selttest : device specific\n"); - printf("Failure code : %02x\n", sft_res->test); + printf("Selftest : device specific (%02Xh)\n", sft_res->code); + printf("Failure code : %02Xh\n", sft_res->test); rv = 0; }