summaryrefslogtreecommitdiff
path: root/src/tac-pipe.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-08-30 23:04:53 +0000
committerJim Meyering <jim@meyering.net>2002-08-30 23:04:53 +0000
commit74887031996e79df07dae9711f08d80839b31e62 (patch)
treed249c7ea293b5540ca108f3b40733401544b29ba /src/tac-pipe.c
parent6c80ecd8d5d3a0642f8cf321f9750f50314ea939 (diff)
downloadcoreutils-74887031996e79df07dae9711f08d80839b31e62.tar.xz
Change `error (1, ...' to `error (EXIT_FAILURE, ...'.
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;