fix missing newline in herror output

This commit is contained in:
Rich Felker 2020-09-03 17:30:22 -04:00
parent 0b06402193
commit 262003ad9d

View File

@ -4,5 +4,5 @@
void herror(const char *msg)
{
fprintf(stderr, "%s%s%s", msg?msg:"", msg?": ":"", hstrerror(h_errno));
fprintf(stderr, "%s%s%s\n", msg?msg:"", msg?": ":"", hstrerror(h_errno));
}