diff options
Diffstat (limited to 'libc/print.c')
-rw-r--r-- | libc/print.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/print.c b/libc/print.c index 1d58f0a..7ebf7ca 100644 --- a/libc/print.c +++ b/libc/print.c @@ -142,6 +142,7 @@ int log(const char *format, ...) int err(int code, const char *format, ...) { + log("ERRNO: %d (%s)\n", errno, strerror(errno)); va_list ap; va_start(ap, format); vfprintf(PATH_ERR, format, ap); |