diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-19 09:13:01 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-19 09:13:01 +0000 |
commit | cad5364599eb5062d59e0c397ed638ddd61a8d5d (patch) | |
tree | a318d0f03aa076c74b576ea45dc543a5669e8e91 /libbb/perror_msg_and_die.c | |
parent | e01f9662a5bd5d91be4f6b3941b57fff73cd5af1 (diff) | |
download | busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.gz busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.bz2 busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.zip |
Major coreutils update.
Diffstat (limited to 'libbb/perror_msg_and_die.c')
-rw-r--r-- | libbb/perror_msg_and_die.c | 6 |
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 | ||
28 | extern void perror_msg_and_die(const char *s, ...) | 28 | extern 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 | ||