Do not pass NULL to fprintf

This commit is contained in:
Jerry James 2022-11-16 11:38:38 -07:00
parent 70cb339f86
commit 5a9f37cd93
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}