[GRASS-SVN] r67714 - grass-addons/grass7/vector/v.in.ply
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 2 07:11:39 PST 2016
Author: wenzeslaus
Date: 2016-02-02 07:11:38 -0800 (Tue, 02 Feb 2016)
New Revision: 67714
Modified:
grass-addons/grass7/vector/v.in.ply/main.c
Log:
v.in.ply: work with -Werror=format-security gcc option
Modified: grass-addons/grass7/vector/v.in.ply/main.c
===================================================================
--- grass-addons/grass7/vector/v.in.ply/main.c 2016-02-01 20:49:22 UTC (rev 67713)
+++ grass-addons/grass7/vector/v.in.ply/main.c 2016-02-02 15:11:38 UTC (rev 67714)
@@ -217,7 +217,7 @@
db_append_string(&sql, buf);
}
db_append_string(&sql, ")");
- G_debug(3, db_get_string(&sql));
+ G_debug(3, "%s", db_get_string(&sql));
driver =
db_start_driver_open_database(Fi->driver,
@@ -316,7 +316,7 @@
if (make_table) {
db_append_string(&sql, " )");
- G_debug(3, db_get_string(&sql));
+ G_debug(3, "%s", db_get_string(&sql));
if (db_execute_immediate(driver, &sql) != DB_OK) {
db_close_database(driver);
More information about the grass-commit
mailing list