[GRASS-SVN] r57616 - grass/branches/releasebranch_6_4/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 7 04:40:02 PDT 2013


Author: hamish
Date: 2013-09-07 04:40:01 -0700 (Sat, 07 Sep 2013)
New Revision: 57616

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

Modified: grass/branches/releasebranch_6_4/ps/ps.map/error.c
===================================================================
--- grass/branches/releasebranch_6_4/ps/ps.map/error.c	2013-09-07 11:32:02 UTC (rev 57615)
+++ grass/branches/releasebranch_6_4/ps/ps.map/error.c	2013-09-07 11:40:01 UTC (rev 57616)
@@ -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