diff options
author | Jim Meyering <jim@meyering.net> | 2002-08-30 23:04:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-08-30 23:04:53 +0000 |
commit | 74887031996e79df07dae9711f08d80839b31e62 (patch) | |
tree | d249c7ea293b5540ca108f3b40733401544b29ba /src/tac-pipe.c | |
parent | 6c80ecd8d5d3a0642f8cf321f9750f50314ea939 (diff) | |
download | coreutils-74887031996e79df07dae9711f08d80839b31e62.tar.xz |
Change `error (1, ...' to `error (EXIT_FAILURE, ...'.
Diffstat (limited to 'src/tac-pipe.c')
-rw-r--r-- | src/tac-pipe.c | 2 |
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; |