Skip to content

Commit

Permalink
fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
hgarrereyn committed Feb 27, 2024
1 parent becc0e0 commit 06ead46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sbva.cc
Original file line number Diff line number Diff line change
Expand Up @@ -863,8 +863,8 @@ int main(int argc, char **argv) {
case 'p':
generate_proof = true;
fproof = fopen(optarg, "w");
if (fin == NULL) {
fprintf(stderr, "Error: Could not open file %s for reading\n", optarg);
if (fproof == NULL) {
fprintf(stderr, "Error: Could not open file %s for writing\n", optarg);
return 1;
}
break;
Expand Down

0 comments on commit 06ead46

Please sign in to comment.