diff options
author | dzwdz | 2022-09-03 23:41:17 +0200 |
---|---|---|
committer | dzwdz | 2022-09-03 23:41:17 +0200 |
commit | d73c5ac9891ea3a88fa6a5ec1339df1f5cdf1a49 (patch) | |
tree | d7a6ea63772d9bcf2c27e9a6eaa4989f2ea1c175 /src/user/lib/stdio/misc.c | |
parent | ecc54f4be44fa1fd1ce79b0458a04eef2667cba8 (diff) |
user/libc: generate strerror from camellia/errno.h
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) { |