2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-23 10:01:46 +00:00
xcat-dep/ipmitool/ipmitool-eventfix.patch
andywray 16355bcf7d Add event fix
Former-commit-id: 840cbe942988b7a1c507d7f8e147e08d54654015
2011-04-27 20:04:23 +00:00

12 lines
411 B
Diff

--- ipmitool-1.8.11/lib/ipmi_event.c 2011-04-27 15:25:45.000000000 -0400
+++ ipmitool-1.8.11-eventfix/lib/ipmi_event.c 2011-04-27 15:26:04.000000000 -0400
@@ -97,7 +97,7 @@
if (chmed == IPMI_CHANNEL_MEDIUM_SYSTEM) {
/* system interface, need extra generator ID */
req.msg.data_len = 8;
- rqdata[0] = 0x20;
+ rqdata[0] = 0x41;
memcpy(rqdata+1, emsg, sizeof(struct platform_event_msg));
}
else {