Skip to content

Commit

Permalink
roff: fix use of fprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince213 authored and aligrudi committed Oct 5, 2021
1 parent 6ea4a26 commit ab680a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roff.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void errmsg(char *fmt, ...)

void errdie(char *msg)
{
fprintf(stderr, msg);
fprintf(stderr, "%s", msg);
exit(1);
}

Expand Down

0 comments on commit ab680a1

Please sign in to comment.