summaryrefslogtreecommitdiff
path: root/src/tail.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/tail.c
parent6c80ecd8d5d3a0642f8cf321f9750f50314ea939 (diff)
downloadcoreutils-74887031996e79df07dae9711f08d80839b31e62.tar.xz
Change `error (1, ...' to `error (EXIT_FAILURE, ...'.
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tail.c b/src/tail.c
index 773f32c71..c1d6034ce 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -397,15 +397,16 @@ xlseek (int fd, off_t offset, int whence, char const *filename)
switch (whence)
{
case SEEK_SET:
- error (1, errno, _("%s: cannot seek to offset %s%s"),
+ error (EXIT_FAILURE, errno, _("%s: cannot seek to offset %s%s"),
filename, sign, s);
break;
case SEEK_CUR:
- error (1, errno, _("%s: cannot seek to relative offset %s%s"),
+ error (EXIT_FAILURE, errno, _("%s: cannot seek to relative offset %s%s"),
filename, sign, s);
break;
case SEEK_END:
- error (1, errno, _("%s: cannot seek to end-relative offset %s%s"),
+ error (EXIT_FAILURE, errno,
+ _("%s: cannot seek to end-relative offset %s%s"),
filename, sign, s);
break;
default: