Hi All,

  Just happen to find a issue on displaying OEM message for field value.

  Please find this patch for fix.

Regards,
----

diff --git a/lib/ipmi_sel.c b/lib/ipmi_sel.c
index cb8243e..1b2d574 100644
--- a/lib/ipmi_sel.c
+++ b/lib/ipmi_sel.c
@@ -189,7 +189,7 @@ static void ipmi_sel_oem_message(struct sel_event_record * 
evt, int verbose)
                                if (sel_oem_msg[i].value[SEL_BYTE(j)] == -3) {
                                        printf (csv_output ? ",%s=0x%x" : " %s 
= 0x%x",
                                                
sel_oem_msg[i].string[SEL_BYTE(j)],
-                                               ((uint8_t *)evt)[SEL_BYTE(j)]);
+                                               ((uint8_t *)evt)[j - 1]);
                                }
                        }
                }
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to