diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-27 23:24:25 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-27 23:24:25 +0000 |
| commit | 462da59fb1bc14ede6603abf8bbf7c233d3ca11d (patch) | |
| tree | 1c241884418eef66722b643ffd792df4889a2b00 /usr.bin/tail | |
| parent | 1649c0b338e0dbb01a322f2aa38776455848deee (diff) | |
Notes
Diffstat (limited to 'usr.bin/tail')
| -rw-r--r-- | usr.bin/tail/forward.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c index ffca06a93b17..f1f111840839 100644 --- a/usr.bin/tail/forward.c +++ b/usr.bin/tail/forward.c @@ -302,7 +302,7 @@ rlines(fp, off, sbp) } /* Set the file pointer to reflect the length displayed. */ - if (fseeko(fp, sbp->st_size, SEEK_SET) == -1) { + if (fseek(fp, 0L, SEEK_END) == -1) { ierr(); return; } |
