summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tail.c b/src/tail.c
index 5a65e085d..1ab9a8f3a 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -1137,6 +1137,9 @@ tail_file (struct File_spec *f, off_t n_units)
{
f->fd = -1;
f->errnum = errno;
+ f->ignore = 0;
+ f->ino = 0;
+ f->dev = 0;
}
error (0, errno, "%s", pretty_name (f));
errors = 1;