Permalink
Browse files

Fix wrong number of arguments in msSetError() call in USE_EXEMPI case

  • Loading branch information...
1 parent 5880490 commit 7172415476e407d2c0cc8f4c76dbf831937a4bdb @rouault rouault committed Jul 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapgdal.c
View
@@ -504,7 +504,7 @@ int msSaveImageGDAL( mapObj *map, imageObj *image, char *filename )
if ( bUseXmp == MS_TRUE ) {
if( msXmpWrite(map, filename) == MS_FAILURE ) {
/* Something bad happened. */
- msSetError( MS_MISCERR, "XMP write to %s failed.\n%s",
+ msSetError( MS_MISCERR, "XMP write to %s failed.\n",
"msSaveImageGDAL()", filename);
return MS_FAILURE;
}

0 comments on commit 7172415

Please sign in to comment.