X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fperl.c;h=4a76c0aa6f636d9075057c83e39b8d6b6b5c060d;hp=cdfb8d5e6d6a3dc16691bb2e5b98e476605bf8f5;hb=ef7fec0c4e0bbbabb356e6a570ac6297ee06eb80;hpb=bc86995088a08d4d355517dd78d3d2b2027bc338 diff --git a/src/perl.c b/src/perl.c index cdfb8d5e..4a76c0aa 100644 --- a/src/perl.c +++ b/src/perl.c @@ -1092,7 +1092,7 @@ static XS (Collectd_plugin_log) 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) */