aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-single-colour.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blind-single-colour.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/blind-single-colour.c b/src/blind-single-colour.c
index b8f693a..7e8c348 100644
--- a/src/blind-single-colour.c
+++ b/src/blind-single-colour.c
@@ -86,8 +86,7 @@ PROCESS(void)
for (y = stream.height; y--;)
for (x = stream.width * sizeof(*buf); x;)
for (x -= n = MIN(sizeof(buf), x); n; n -= (size_t)r)
- if ((r = write(STDOUT_FILENO, buf, n)) < 0)
- eprintf("write <stdout>:");
+ r = ewrite(STDOUT_FILENO, buf, n, "<stdout>");
}
#endif