Commit fb1fb8fb authored by Alessandro Rubini's avatar Alessandro Rubini

tools/libipmi/ipmi.c: bugfix for area size

This fixes a bug in the code we imported from PTS, the fix
in PTS is carried out separately.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent bb979257
......@@ -349,7 +349,7 @@ int ipmi_write(void)
ipmi_common_header_write();
// Write board info area, padding (to 8 byte multiple) is done inside the write function
bia->area_len = board_info_area_get_size(NULL);
bia->area_len = board_info_area_get_size(NULL)/8;
ipmi_board_info_area_write();
// Write multi-record area
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment