[GRASS-SVN] r32980 - grass/branches/develbranch_6/vector/v.extract
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 21 11:09:44 EDT 2008
Author: benducke
Date: 2008-08-21 11:09:43 -0400 (Thu, 21 Aug 2008)
New Revision: 32980
Modified:
grass/branches/develbranch_6/vector/v.extract/main.c
Log:
Changed
G_fatal_error(_("Unable to open database <%s> by driver <%s>"),
Fi->database, driver);
to
G_fatal_error(_("Unable to open database <%s> by driver <%s>"),
Fi->database, Fi->driver);
as "driver" is of type *dbDriver and cannot be used as a *char.
Modified: grass/branches/develbranch_6/vector/v.extract/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.extract/main.c 2008-08-21 14:35:03 UTC (rev 32979)
+++ grass/branches/develbranch_6/vector/v.extract/main.c 2008-08-21 15:09:43 UTC (rev 32980)
@@ -244,7 +244,7 @@
db_set_handle(&handle, Fi->database, NULL);
if (db_open_database(driver, &handle) != DB_OK)
G_fatal_error(_("Unable to open database <%s> by driver <%s>"),
- Fi->database, driver);
+ Fi->database, Fi->driver);
ncats =
db_select_int(driver, Fi->table, Fi->key, whereopt->answer,
More information about the grass-commit
mailing list