[GRASS-SVN] r57425 - grass/trunk/ps/ps.map
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 6 04:18:39 PDT 2013
Author: hamish
Date: 2013-08-06 04:18:39 -0700 (Tue, 06 Aug 2013)
New Revision: 57425
Modified:
grass/trunk/ps/ps.map/error.c
Log:
avoid 'format not a string literal and no format arguments'
Modified: grass/trunk/ps/ps.map/error.c
===================================================================
--- grass/trunk/ps/ps.map/error.c 2013-08-06 10:32:07 UTC (rev 57424)
+++ grass/trunk/ps/ps.map/error.c 2013-08-06 11:18:39 UTC (rev 57425)
@@ -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