diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-25 16:37:25 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-25 16:37:25 -0700 |
commit | e7527a47ba9d6cba9c9e72800aa91817ec923616 (patch) | |
tree | 00e214da1421d05e70994e4a8dc5cd33eb3a9bdb /src/map/mapper/mapper.c | |
parent | 1c099166a16ad6f1621d34d7ffbe6e799f60459e (diff) | |
download | abc-e7527a47ba9d6cba9c9e72800aa91817ec923616.tar.gz abc-e7527a47ba9d6cba9c9e72800aa91817ec923616.tar.bz2 abc-e7527a47ba9d6cba9c9e72800aa91817ec923616.zip |
Cleaned up interfaces of genlib/liberty/supergate reading/writing.
Diffstat (limited to 'src/map/mapper/mapper.c')
-rw-r--r-- | src/map/mapper/mapper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mapper/mapper.c b/src/map/mapper/mapper.c index db06f1fd..17102cec 100644 --- a/src/map/mapper/mapper.c +++ b/src/map/mapper/mapper.c @@ -143,11 +143,11 @@ int Map_CommandReadLibrary( Abc_Frame_t * pAbc, int argc, char **argv ) fclose( pFile ); // set the new network - pLib = Map_SuperLibCreate( FileName, ExcludeFile, fAlgorithm, fVerbose ); + pLib = Map_SuperLibCreate( NULL, FileName, ExcludeFile, fAlgorithm, fVerbose ); if ( pLib == NULL ) { fprintf( pErr, "Reading supergate library has failed.\n" ); - goto usage; + return 1; } // replace the current library // Map_SuperLibFree( s_pSuperLib ); |