mirror of https://github.com/YosysHQ/abc.git
Do not pass NULL to fprintf
This commit is contained in:
parent
70cb339f86
commit
5a9f37cd93
|
|
@ -189,7 +189,7 @@ int WriteResultIntoFile( char * pFileName )
|
|||
pFile = fopen( pFileName, "w" );
|
||||
if ( pFile == NULL )
|
||||
{
|
||||
fprintf( pFile, "\n\nCannot open the output file\n" );
|
||||
fprintf( stderr, "\n\nCannot open the output file\n" );
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue