summaryrefslogtreecommitdiff
path: root/libbb/fflush_stdout_and_exit.c
diff options
context:
space:
mode:
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 245f508..6df8dde 100644
--- a/libbb/fflush_stdout_and_exit.c
+++ b/libbb/fflush_stdout_and_exit.c
@@ -18,7 +18,7 @@
void bb_fflush_stdout_and_exit(int retval)
{
if (fflush(stdout)) {
- retval = bb_default_error_retval;
+ retval = xfunc_error_retval;
}
if (die_sleep)
sleep(die_sleep);