aboutsummaryrefslogtreecommitdiff
path: root/libc/print.c
diff options
context:
space:
mode:
authorMarvin Borner2021-03-16 12:25:02 +0100
committerMarvin Borner2021-03-16 12:25:02 +0100
commit0648818bb141cec9a5513933a3129e965250e19c (patch)
treeb9cb785e904c44340aaa035ad13255cc61a0cf55 /libc/print.c
parente8b3efb5bafc0502df88c97bc47b361a4d231c5e (diff)
Cleanup and atexit
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)