diff options
Diffstat (limited to 'src/tail.c')
-rw-r--r-- | src/tail.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c index bdb8499a5..c7f2e0e51 100644 --- a/src/tail.c +++ b/src/tail.c @@ -1106,7 +1106,8 @@ tail_lines (const char *pretty_filename, int fd, long int n_lines) && (length = lseek (fd, (off_t) 0, SEEK_END)) >= 0 && start_pos < length) { - if (length != 0 && file_lines (pretty_filename, fd, n_lines, start_pos, length)) + if (length != 0 && file_lines (pretty_filename, fd, n_lines, + start_pos, length)) return 1; } else |