Skip to content

Commit

Permalink
Print error message correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
ascherer committed Jan 26, 2021
1 parent f10d7b5 commit dbfc2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.w
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ concatenated to print the final error message.
fatal(
const char *s,const char *t)
{
if (*s) fputs(s,stdout);
if (*s) err_print(s);
err_print(t);
history=fatal_message; exit(wrap_up());
}
Expand Down

0 comments on commit dbfc2ac

Please sign in to comment.