diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-03 02:56:00 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-03 02:56:00 +0000 |
commit | cd4370bd6ed20fd2c944f03206d3cd56023f390f (patch) | |
tree | 66b3617e0b6ceed9c3123000104df0d78bf9bf2a /libbb/perror_msg_and_die.c | |
parent | b0c043bbed7ee35df4171d8551695c74458c8d97 (diff) | |
download | busybox-w32-cd4370bd6ed20fd2c944f03206d3cd56023f390f.tar.gz busybox-w32-cd4370bd6ed20fd2c944f03206d3cd56023f390f.tar.bz2 busybox-w32-cd4370bd6ed20fd2c944f03206d3cd56023f390f.zip |
convert calloc to xzalloc
fix sleep-on-die option
git-svn-id: svn://busybox.net/trunk/busybox@17140 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/perror_msg_and_die.c')
-rw-r--r-- | libbb/perror_msg_and_die.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libbb/perror_msg_and_die.c b/libbb/perror_msg_and_die.c index 2303ba211..7521e7157 100644 --- a/libbb/perror_msg_and_die.c +++ b/libbb/perror_msg_and_die.c | |||
@@ -20,7 +20,5 @@ void bb_perror_msg_and_die(const char *s, ...) | |||
20 | va_start(p, s); | 20 | va_start(p, s); |
21 | bb_vperror_msg(s, p); | 21 | bb_vperror_msg(s, p); |
22 | va_end(p); | 22 | va_end(p); |
23 | if (die_sleep) | 23 | sleep_and_die(); |
24 | sleep(die_sleep); | ||
25 | exit(xfunc_error_retval); | ||
26 | } | 24 | } |