aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/builtin.c b/builtin.c
index c65bb902..9d5e3b30 100644
--- a/builtin.c
+++ b/builtin.c
@@ -76,13 +76,14 @@ int flush;
if (fwrite(ptr, size, count, fp) != count)
goto wrerror;
if (flush
- && ((fp == stdout && output_is_tty)
- || (rp && (rp->flag & RED_NOBUF)))) {
+ && ((fp == stdout && output_is_tty)
+ || (rp && (rp->flag & RED_NOBUF)))) {
fflush(fp);
if (ferror(fp))
goto wrerror;
}
return;
+
wrerror:
fatal("%s to \"%s\" failed (%s)", from,
rp ? rp->value : "standard output",