diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-03 02:56:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-03 02:56:00 +0000 |
commit | 9b1381fd2fb7179f731709542507015799f90a51 (patch) | |
tree | 66b3617e0b6ceed9c3123000104df0d78bf9bf2a /libbb/herror_msg_and_die.c | |
parent | bb3d0fab3b46d64e93687bc30b405d0878eca296 (diff) | |
download | busybox-w32-9b1381fd2fb7179f731709542507015799f90a51.tar.gz busybox-w32-9b1381fd2fb7179f731709542507015799f90a51.tar.bz2 busybox-w32-9b1381fd2fb7179f731709542507015799f90a51.zip |
convert calloc to xzalloc
fix sleep-on-die option
Diffstat (limited to 'libbb/herror_msg_and_die.c')
-rw-r--r-- | libbb/herror_msg_and_die.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libbb/herror_msg_and_die.c b/libbb/herror_msg_and_die.c index f62ddd2ea..a7a22caf7 100644 --- a/libbb/herror_msg_and_die.c +++ b/libbb/herror_msg_and_die.c | |||
@@ -19,7 +19,5 @@ void bb_herror_msg_and_die(const char *s, ...) | |||
19 | va_start(p, s); | 19 | va_start(p, s); |
20 | bb_vherror_msg(s, p); | 20 | bb_vherror_msg(s, p); |
21 | va_end(p); | 21 | va_end(p); |
22 | if (die_sleep) | 22 | sleep_and_die(); |
23 | sleep(die_sleep); | ||
24 | exit(xfunc_error_retval); | ||
25 | } | 23 | } |