Skip to content

Commit

Permalink
exit時にprintf設定を初期化するように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
kohkubo committed Mar 30, 2022
1 parent 2a6bb61 commit 856f3cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions srcs/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ void exit_error(char *errmsg)
perror(NULL);
else if (errmsg)
fprintf(stderr, "%s\n", errmsg);
printf(END);
exit(EXIT_FAILURE);
}

Expand Down

0 comments on commit 856f3cf

Please sign in to comment.