summaryrefslogtreecommitdiff
path: root/src/tac-pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tac-pipe.c')
-rw-r--r--src/tac-pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tac-pipe.c b/src/tac-pipe.c
index 8e21d1cc3..e8e41aed7 100644
--- a/src/tac-pipe.c
+++ b/src/tac-pipe.c
@@ -54,7 +54,7 @@ buf_init_from_stdin (Buf *x, int eol_byte)
}
bytes_read = full_read (STDIN_FILENO, buf, BUFFER_SIZE);
if (bytes_read < 0)
- error (1, errno, _("read error"));
+ error (EXIT_FAILURE, errno, _("read error"));
{
struct B_pair bp;