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
This commit is contained in:
Zdenek Styblik 2013-04-02 10:37:15 +00:00
parent 26c17eeb91
commit d27d2f7ae3

View File

@ -1408,7 +1408,7 @@ ipmi_sel_get_info(struct ipmi_intf * intf)
printf("Alloc Unit Size : %d\n", buf2short(rsp->data + 2)); printf("Alloc Unit Size : %d\n", buf2short(rsp->data + 2));
printf("# Free Units : %d\n", buf2short(rsp->data + 4)); printf("# Free Units : %d\n", buf2short(rsp->data + 4));
printf("Largest Free Blk : %d\n", buf2short(rsp->data + 6)); 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; return 0;
} }