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 @@
24 24
25#include "libbb.h" 25#include "libbb.h"
26 26
27extern void herror_msg_and_die(const char *s, ...) 27extern void bb_herror_msg_and_die(const char *s, ...)
28{ 28{
29 va_list p; 29 va_list p;
30 30
31 va_start(p, s); 31 va_start(p, s);
32 vherror_msg(s, p); 32 bb_vherror_msg(s, p);
33 va_end(p); 33 va_end(p);
34 exit(EXIT_FAILURE); 34 exit(bb_default_error_retval);
35} 35}
36 36
37 37