From d27d2f7ae3b8d6a215aebdf390da1e4a8cd83d5c Mon Sep 17 00:00:00 2001 From: Zdenek Styblik Date: Tue, 2 Apr 2013 10:37:15 +0000 Subject: [PATCH] ID: 3016359 - Get SEL Alloc Information is incorrect The Information given by the command SEL was incorrect in "Get SEL Allocation" command. According to the specification "byte 10" in response denotes the "Maximum record size in allocation units". This information is given as "Max Record Size : " in sel command. However, ipmitool was getting "byte 9" instead of "byte 10". Commit for Gokulakannan --- ipmitool/lib/ipmi_sel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipmitool/lib/ipmi_sel.c b/ipmitool/lib/ipmi_sel.c index 0b09d3b..16c807b 100644 --- a/ipmitool/lib/ipmi_sel.c +++ b/ipmitool/lib/ipmi_sel.c @@ -1408,7 +1408,7 @@ ipmi_sel_get_info(struct ipmi_intf * intf) printf("Alloc Unit Size : %d\n", buf2short(rsp->data + 2)); printf("# Free Units : %d\n", buf2short(rsp->data + 4)); printf("Largest Free Blk : %d\n", buf2short(rsp->data + 6)); - printf("Max Record Size : %d\n", rsp->data[7]); + printf("Max Record Size : %d\n", rsp->data[8]); } return 0; }