aboutsummaryrefslogtreecommitdiff
path: root/libbb/fflush_stdout_and_exit.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-08-13 14:10:24 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-08-13 14:10:24 +0000
commit3952f20c24ff3eed2ef6f4a9abd2d8a0aaa34a6e (patch)
tree038567c7d5d0a3c9bfe40eeb534ffc9559423b9d /libbb/fflush_stdout_and_exit.c
parent08294dbf5bc6fb1ea0b185488675d91169e231ce (diff)
downloadbusybox-3952f20c24ff3eed2ef6f4a9abd2d8a0aaa34a6e.tar.gz
busybox-3952f20c24ff3eed2ef6f4a9abd2d8a0aaa34a6e.tar.bz2
expand, unexpand: new applets from Tito <farmatito@tiscali.it>
Diffstat (limited to 'libbb/fflush_stdout_and_exit.c')
-rw-r--r--libbb/fflush_stdout_and_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/fflush_stdout_and_exit.c b/libbb/fflush_stdout_and_exit.c
index 48889dae8..9f05500f3 100644
--- a/libbb/fflush_stdout_and_exit.c
+++ b/libbb/fflush_stdout_and_exit.c
@@ -16,7 +16,7 @@
void fflush_stdout_and_exit(int retval)
{
if (fflush(stdout))
- xfunc_die();
+ bb_perror_msg_and_die(bb_msg_standard_output);
if (ENABLE_FEATURE_PREFER_APPLETS && die_sleep < 0) {
/* We are in NOFORK applet. Do not exit() directly,