Skip to content

Commit

Permalink
corrected file name in error messages when failing to open files
Browse files Browse the repository at this point in the history
  • Loading branch information
xflouris committed Jul 20, 2017
1 parent 724ef82 commit 60c2883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ FILE * xopen(const char * filename, const char * mode)
{
FILE * out = fopen(filename, mode);
if (!out)
fatal("Cannot open file %s", opt_outfile);
fatal("Cannot open file %s", filename);

return out;
}
Expand Down

0 comments on commit 60c2883

Please sign in to comment.