Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > b53b75197300b47975577c892e1b6fa8 > files > 7

net-snmp-5.5-7.1mdv2010.2.src.rpm

--- perl/SNMP/SNMP.xs	2009-06-03 08:35:22.000000000 -0400
+++ perl/SNMP/SNMP.xs.oden	2009-10-15 08:17:13.000000000 -0400
@@ -4061,7 +4061,7 @@ snmp_bulkwalk(sess_ref, nonrepeaters, ma
 	   if (context->req_oids == NULL) {
 	      sprintf(str_buf, "Newz(req_oids) failed (%s)", strerror(errno));
 	      if (verbose)
-	         warn(str_buf);
+	         warn("%s", str_buf);
 	      sv_setpv(*err_str_svp, str_buf);
 	      sv_setiv(*err_num_svp, SNMPERR_MALLOC);
 	      goto err;