diff options
Diffstat (limited to 'src/user/lib/stdio/misc.c')
-rw-r--r-- | src/user/lib/stdio/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/stdio/misc.c b/src/user/lib/stdio/misc.c index a140ee4..45144f3 100644 --- a/src/user/lib/stdio/misc.c +++ b/src/user/lib/stdio/misc.c @@ -5,7 +5,7 @@ void perror(const char *s) { if (s) fprintf(stderr, "%s: ", s); - fprintf(stderr, "errno %d\n", errno); + fprintf(stderr, "%s\n", strerror(errno)); } int puts(const char *s) { |