aboutsummaryrefslogtreecommitdiff
path: root/libbb/perror_msg_and_die.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/perror_msg_and_die.c')
-rw-r--r--libbb/perror_msg_and_die.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/perror_msg_and_die.c b/libbb/perror_msg_and_die.c
index 9004925cc..57a21136d 100644
--- a/libbb/perror_msg_and_die.c
+++ b/libbb/perror_msg_and_die.c
@@ -25,14 +25,14 @@
25#include <stdlib.h> 25#include <stdlib.h>
26#include "libbb.h" 26#include "libbb.h"
27 27
28extern void perror_msg_and_die(const char *s, ...) 28extern void bb_perror_msg_and_die(const char *s, ...)
29{ 29{
30 va_list p; 30 va_list p;
31 31
32 va_start(p, s); 32 va_start(p, s);
33 vperror_msg(s, p); 33 bb_vperror_msg(s, p);
34 va_end(p); 34 va_end(p);
35 exit(EXIT_FAILURE); 35 exit(bb_default_error_retval);
36} 36}
37 37
38 38