Skip to content

Commit

Permalink
Refactor(Typo): Typo update in write_aiger message
Browse files Browse the repository at this point in the history
  • Loading branch information
wjrforcyber committed Sep 17, 2023
1 parent 6e1323c commit 7ec8f17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/io/ioWriteAiger.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,15 +680,15 @@ void Io_WriteAiger( Abc_Ntk_t * pNtk, char * pFileName, int fWriteSymbols, int f
b.f = fopen( pFileName, "wb" );
if ( b.f == NULL )
{
fprintf( stdout, "Ioa_WriteBlif(): Cannot open the output file \"%s\".\n", pFileName );
fprintf( stdout, "Io_WriteAiger(): Cannot open the output file \"%s\".\n", pFileName );
ABC_FREE(b.buf);
return;
}
if (!strncmp(pFileName+strlen(pFileName)-4,".bz2",4)) {
b.b = BZ2_bzWriteOpen( &bzError, b.f, 9, 0, 0 );
if ( bzError != BZ_OK ) {
BZ2_bzWriteClose( &bzError, b.b, 0, NULL, NULL );
fprintf( stdout, "Ioa_WriteBlif(): Cannot start compressed stream.\n" );
fprintf( stdout, "Io_WriteAiger(): Cannot start compressed stream.\n" );
fclose( b.f );
ABC_FREE(b.buf);
return;
Expand Down

0 comments on commit 7ec8f17

Please sign in to comment.