Blame SOURCES/plotutils-werror-format-security.patch

c30a5a
diff --git a/pic2plot/gram.yy b/pic2plot/gram.yy
c30a5a
index d11320b..1bcce46 100644
c30a5a
--- a/pic2plot/gram.yy
c30a5a
+++ b/pic2plot/gram.yy
c30a5a
@@ -1833,7 +1833,7 @@ do_sprintf(const char *form, const double *v, int nv)
c30a5a
 	    {
c30a5a
 	      one_format += *form++;
c30a5a
 	      one_format += '\0';
c30a5a
-	      sprintf(sprintf_buf, one_format.contents());
c30a5a
+	      sprintf(sprintf_buf, "%s", one_format.contents());
c30a5a
 	    }
c30a5a
 	  else 
c30a5a
 	    {