Skip to content

Commit

Permalink
Merge pull request #194 from jamesjer/badfile
Browse files Browse the repository at this point in the history
Do not pass NULL to fprintf
  • Loading branch information
alanminko committed Sep 5, 2023
2 parents 17c9075 + 5a9f37c commit 7f22cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/exor/exorUtil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7f22cc0

Please sign in to comment.