[GRASS-SVN] r68190 - grass/trunk/imagery/i.rectify

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Apr 1 03:03:29 PDT 2016


Author: martinl
Date: 2016-04-01 03:03:29 -0700 (Fri, 01 Apr 2016)
New Revision: 68190

Modified:
   grass/trunk/imagery/i.rectify/target.c
Log:
i.rectify: fix error format not a string literal and no format arguments

Modified: grass/trunk/imagery/i.rectify/target.c
===================================================================
--- grass/trunk/imagery/i.rectify/target.c	2016-04-01 08:35:29 UTC (rev 68189)
+++ grass/trunk/imagery/i.rectify/target.c	2016-04-01 10:03:29 UTC (rev 68190)
@@ -35,6 +35,6 @@
     strcat(buf, "\n");
     strcat(buf, _("Please run i.target for group "));
     strcat(buf, group);
-    G_fatal_error(buf);
+    G_fatal_error("%s", buf);
     return 1;			/* never reached */
 }



More information about the grass-commit mailing list