summaryrefslogtreecommitdiff
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 9004925..57a2113 100644
--- a/libbb/perror_msg_and_die.c
+++ b/libbb/perror_msg_and_die.c
@@ -25,14 +25,14 @@
#include <stdlib.h>
#include "libbb.h"
-extern void perror_msg_and_die(const char *s, ...)
+extern void bb_perror_msg_and_die(const char *s, ...)
{
va_list p;
va_start(p, s);
- vperror_msg(s, p);
+ bb_vperror_msg(s, p);
va_end(p);
- exit(EXIT_FAILURE);
+ exit(bb_default_error_retval);
}