XSRETURN_EMPTY;
}
- plugin_log (SvIV (ST (0)), SvPV_nolen (ST (1)));
+ plugin_log (SvIV (ST (0)), "%s", SvPV_nolen (ST (1)));
XSRETURN_YES;
} /* static XS (Collectd_plugin_log) */
vsnprintf (message, sizeof (message), format, ap);
message[sizeof (message) - 1] = '\0';
- plugin_log (level, message);
+ plugin_log (level, "%s", message);
return 1;
} /* vcomplain */
message[sizeof (message) - 1] = '\0';
va_end (ap);
- plugin_log (level, message);
+ plugin_log (level, "%s", message);
} /* c_release */
/* vim: set sw=4 ts=4 tw=78 noexpandtab : */