aboutsummaryrefslogtreecommitdiff
path: root/libc/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/print.c')
-rw-r--r--libc/print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/print.c b/libc/print.c
index b687239..1d58f0a 100644
--- a/libc/print.c
+++ b/libc/print.c
@@ -147,6 +147,7 @@ int err(int code, const char *format, ...)
vfprintf(PATH_ERR, format, ap);
va_end(ap);
exit(code);
+ return -1;
}
int print(const char *str)