summaryrefslogtreecommitdiffstats
path: root/src/map/super
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/super')
-rw-r--r--src/map/super/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/super/super.c b/src/map/super/super.c
index a3fbc98c..4b4968dd 100644
--- a/src/map/super/super.c
+++ b/src/map/super/super.c
@@ -245,8 +245,8 @@ int Super_CommandSupergates( Abc_Frame_t * pAbc, int argc, char **argv )
// get the input file name
FileName = argv[util_optind];
-// if ( (pFile = Io_FileOpen( FileName, "open_path", "r" )) == NULL )
- if ( (pFile = fopen( FileName, "r" )) == NULL )
+ if ( (pFile = Io_FileOpen( FileName, "open_path", "r", 0 )) == NULL )
+// if ( (pFile = fopen( FileName, "r" )) == NULL )
{
fprintf( pErr, "Cannot open input file \"%s\". ", FileName );
if (( FileName = Extra_FileGetSimilarName( FileName, ".genlib", ".lib", ".gen", ".g", NULL ) ))