odk: PVS-Studio V618 non-const format string

Change-Id: I38c5abfc503fae11e6cb7233f4163b41ed6c699e
This commit is contained in:
Michael Stahl 2015-03-12 00:16:15 +01:00
parent 2358dfc602
commit 1a8b6b3f1d

View File

@ -402,7 +402,7 @@ void writeError( const char* errstr )
FILE* ferr = getErrorFile( 1 );
if ( ferr != NULL )
{
fprintf( ferr, errstr );
fputs( errstr, ferr );
fflush( ferr );
}
}