odk: PVS-Studio V618 non-const format string
Change-Id: I38c5abfc503fae11e6cb7233f4163b41ed6c699e
This commit is contained in:
@@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user