summaryrefslogtreecommitdiff
path: root/libc/misc/error/err.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/error/err.c')
-rw-r--r--libc/misc/error/err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/error/err.c b/libc/misc/error/err.c
index 922cd8aba..ddb8786b0 100644
--- a/libc/misc/error/err.c
+++ b/libc/misc/error/err.c
@@ -84,7 +84,7 @@ void warnx(const char *format, ...)
void attribute_hidden __verr(int status, const char *format, va_list args)
{
__vwarn(format, args);
- exit(status);
+ __exit(status);
}
strong_alias(__verr,verr)
@@ -103,7 +103,7 @@ void attribute_noreturn err(int status, const char *format, ...)
void attribute_hidden __verrx(int status, const char *format, va_list args)
{
__vwarnx(format, args);
- exit(status);
+ __exit(status);
}
strong_alias(__verrx,verrx)