Browse Source

fix missing newline in herror output

Rich Felker 4 years ago
parent
commit
262003ad9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/network/herror.c

+ 1 - 1
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));
 }