Kaydet (Commit) 1a8b6b3f authored tarafından Michael Stahl's avatar Michael Stahl

odk: PVS-Studio V618 non-const format string

Change-Id: I38c5abfc503fae11e6cb7233f4163b41ed6c699e
üst 2358dfc6
...@@ -402,7 +402,7 @@ void writeError( const char* errstr ) ...@@ -402,7 +402,7 @@ void writeError( const char* errstr )
FILE* ferr = getErrorFile( 1 ); FILE* ferr = getErrorFile( 1 );
if ( ferr != NULL ) if ( ferr != NULL )
{ {
fprintf( ferr, errstr ); fputs( errstr, ferr );
fflush( ferr ); fflush( ferr );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment