Correct perror(3)

This commit is contained in:
Mark
2020-07-23 17:22:35 +03:00
parent c7ff6ce9a1
commit 596d803c22
+1 -1
View File
@@ -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);