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

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