summaryrefslogtreecommitdiffstats
path: root/src/map/mapper/mapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mapper/mapper.c')
-rw-r--r--src/map/mapper/mapper.c4
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 );