[GRASS-SVN] r57426 - grass/branches/develbranch_6/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 6 04:20:44 PDT 2013


Author: hamish
Date: 2013-08-06 04:20:43 -0700 (Tue, 06 Aug 2013)
New Revision: 57426

Modified:
   grass/branches/develbranch_6/ps/ps.map/error.c
Log:
avoid 'format not a string literal and no format arguments' (merge from trunk)

Modified: grass/branches/develbranch_6/ps/ps.map/error.c
===================================================================
--- grass/branches/develbranch_6/ps/ps.map/error.c	2013-08-06 11:18:39 UTC (rev 57425)
+++ grass/branches/develbranch_6/ps/ps.map/error.c	2013-08-06 11:20:43 UTC (rev 57426)
@@ -17,7 +17,8 @@
     if (isatty(0))
 	fprintf(stderr, "%s\n", msg);
     else
-	G_fatal_error(msg);
+	G_fatal_error("%s", msg);
+
     reject();
 
     return 0;



More information about the grass-commit mailing list