Permalink
Browse files

Fix error message in msInitDefaultOGROutputFormat()

  • Loading branch information...
1 parent ed34e56 commit 4ec2b262cbd0cbde0df0f5e882d9aa0e841356c4 @rouault rouault committed Jul 6, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 mapogroutput.c
View
@@ -46,7 +46,7 @@
#ifdef USE_OGR
/************************************************************************/
-/* msInitOGROutputFormat() */
+/* msInitDefaultOGROutputFormat() */
/************************************************************************/
int msInitDefaultOGROutputFormat( outputFormatObj *format )
@@ -64,13 +64,13 @@ int msInitDefaultOGROutputFormat( outputFormatObj *format )
hDriver = OGRGetDriverByName( format->driver+4 );
if( hDriver == NULL ) {
msSetError( MS_MISCERR, "No OGR driver named `%s' available.",
- "msInitOGROutputFormat()", format->driver+4 );
+ "msInitDefaultOGROutputFormat()", format->driver+4 );
return MS_FAILURE;
}
if( !OGR_Dr_TestCapability( hDriver, ODrCCreateDataSource ) ) {
msSetError( MS_MISCERR, "OGR `%s' driver does not support output.",
- "msInitOGROutputFormat()", format->driver+4 );
+ "msInitDefaultOGROutputFormat()", format->driver+4 );
return MS_FAILURE;
}

0 comments on commit 4ec2b26

Please sign in to comment.