mirror of https://github.com/openXC7/prjxray.git
segmatch.cpp: if f_in does not exits returns -1
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
parent
9e4c6f1bb5
commit
d02a58e3df
|
|
@ -238,7 +238,8 @@ int main(int argc, char** argv) {
|
|||
|
||||
// Check if input file exists.
|
||||
if (!f.good()) {
|
||||
printf("WARNING: Input file does not exist!\n");
|
||||
printf("ERROR: Input file does not exist!\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
assert(!f.fail());
|
||||
|
|
|
|||
Loading…
Reference in New Issue