--- a/lib/plugins/stonith/bladehpi.c Fri Jul 27 10:16:24 2007 -0600 +++ b/lib/plugins/stonith/bladehpi.c Sat Jul 28 14:48:31 2007 -0600 @@ -36,6 +36,8 @@ #include +#define MALLOCT_PI(type) ((type *)(MALLOC(sizeof(type)))) + /* Maximum number of seconds to wait for host to power off */ #define MAX_POWEROFF_WAIT 60 @@ -731,7 +733,7 @@ static StonithPlugin * static StonithPlugin * bladehpi_new(const char *subplugin) { - struct pluginDevice * dev = MALLOCT(struct pluginDevice); + struct pluginDevice * dev = MALLOCT_PI(struct pluginDevice); if (Debug) { LOG(PIL_DEBUG, "%s: called", __FUNCTION__);