aboutsummaryrefslogtreecommitdiff
path: root/libbb/herror_msg_and_die.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/herror_msg_and_die.c')
-rw-r--r--libbb/herror_msg_and_die.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/herror_msg_and_die.c b/libbb/herror_msg_and_die.c
index a47c7ff95..33a8c3e28 100644
--- a/libbb/herror_msg_and_die.c
+++ b/libbb/herror_msg_and_die.c
@@ -24,14 +24,14 @@
#include "libbb.h"
-extern void herror_msg_and_die(const char *s, ...)
+extern void bb_herror_msg_and_die(const char *s, ...)
{
va_list p;
va_start(p, s);
- vherror_msg(s, p);
+ bb_vherror_msg(s, p);
va_end(p);
- exit(EXIT_FAILURE);
+ exit(bb_default_error_retval);
}