summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Amelkin <alexander@amelkin.msk.ru>2021-04-07 00:03:38 +0300
committerAlexander Amelkin <alexander@amelkin.msk.ru>2021-04-07 00:06:18 +0300
commitaf146e77b53fb0bcfd8f2b7865884778eb7bb9df (patch)
tree7843f7f88839a5f225c54c634daa217dbc2fa878
parentd674bfdc9a2447706ea9b0b943c98bcb0bbe80d2 (diff)
downloadipmitool-af146e77b53fb0bcfd8f2b7865884778eb7bb9df.tar.gz
sel: Fix "power supply inactive" flag offset
There was a wrong offset for the "Power Supply Inactive" flag, hence the trigger on this event type could not be set. Resolves ipmitool/ipmitool#280 Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
-rw-r--r--include/ipmitool/ipmi_sel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ipmitool/ipmi_sel.h b/include/ipmitool/ipmi_sel.h
index 99bc107..fbac9a1 100644
--- a/include/ipmitool/ipmi_sel.h
+++ b/include/ipmitool/ipmi_sel.h
@@ -257,7 +257,7 @@ static const struct ipmi_event_sensor_types sensor_specific_event_types[] = {
{ 0x08, 0x06, 0x03, "Config Error: Power Supply Rating Mismatch" },
{ 0x08, 0x06, 0x04, "Config Error: Voltage Rating Mismatch" },
{ 0x08, 0x06, 0xff, "Config Error" },
- { 0x08, 0x06, 0xff, "Power Supply Inactive" },
+ { 0x08, 0x07, 0xff, "Power Supply Inactive" },
/* Power Unit */
{ 0x09, 0x00, 0xff, "Power off/down" },
{ 0x09, 0x01, 0xff, "Power cycle" },