From 596d803c22433ffb4e0dc76b6b4ba208256da43d Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 23 Jul 2020 17:22:35 +0300 Subject: [PATCH] Correct perror(3) --- src/stdio/perror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdio/perror.c b/src/stdio/perror.c index 9f1dbe6..eda89fb 100644 --- a/src/stdio/perror.c +++ b/src/stdio/perror.c @@ -6,7 +6,7 @@ void perror(const char *text) { int e = errno; if (text && *text) { fputs(text, stderr); - fputc(' ', stderr); + fputs(": ", stderr); } fputs(strerror(e), stderr); fputc('\n', stderr);