aboutsummaryrefslogtreecommitdiff
path: root/libbb/herror_msg_and_die.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-10 21:38:30 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-10 21:38:30 +0000
commit48b6c559ccf5bc74eaa7e334310e9edf367033e2 (patch)
tree14183fd728ce51ae10baee70f7d8f72c39d30649 /libbb/herror_msg_and_die.c
parent04c078dac604c21cf593a3298f788f69b7f739e6 (diff)
downloadbusybox-w32-48b6c559ccf5bc74eaa7e334310e9edf367033e2.tar.gz
busybox-w32-48b6c559ccf5bc74eaa7e334310e9edf367033e2.tar.bz2
busybox-w32-48b6c559ccf5bc74eaa7e334310e9edf367033e2.zip
make a few struct bb_applet members conditional
rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig git-svn-id: svn://busybox.net/trunk/busybox@18391 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/herror_msg_and_die.c')
-rw-r--r--libbb/herror_msg_and_die.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libbb/herror_msg_and_die.c b/libbb/herror_msg_and_die.c
index a7a22caf7..8c77378d7 100644
--- a/libbb/herror_msg_and_die.c
+++ b/libbb/herror_msg_and_die.c
@@ -7,9 +7,6 @@
7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
8 */ 8 */
9 9
10#include <stdarg.h>
11#include <stdlib.h>
12
13#include "libbb.h" 10#include "libbb.h"
14 11
15void bb_herror_msg_and_die(const char *s, ...) 12void bb_herror_msg_and_die(const char *s, ...)
@@ -19,5 +16,5 @@ void bb_herror_msg_and_die(const char *s, ...)
19 va_start(p, s); 16 va_start(p, s);
20 bb_vherror_msg(s, p); 17 bb_vherror_msg(s, p);
21 va_end(p); 18 va_end(p);
22 sleep_and_die(); 19 xfunc_die();
23} 20}