summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-09-03 17:30:22 -0400
committerRich Felker <dalias@aerifal.cx>2020-09-03 17:30:22 -0400
commit262003ad9d8894c03fa4b033140e1e14e4c24c4d (patch)
tree3974877c3496601e1158748cf67b630ec38f81a0 /src/network
parent0b0640219338b80cf47026d1970b5503414ed7f3 (diff)
downloadmusl-262003ad9d8894c03fa4b033140e1e14e4c24c4d.tar.gz
fix missing newline in herror output
Diffstat (limited to 'src/network')
-rw-r--r--src/network/herror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/herror.c b/src/network/herror.c
index 65f25ff3..87f8cff4 100644
--- a/src/network/herror.c
+++ b/src/network/herror.c
@@ -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));
}