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

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