diff options
author | Jim Meyering <jim@meyering.net> | 1995-05-25 05:09:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-05-25 05:09:00 +0000 |
commit | a660862d4ca44ef3bb86a0dabf7402ba7a2922bc (patch) | |
tree | 75b00fdcc6384f39071ddb5771637672a0cfedc3 | |
parent | 871da9a196474158af2198ee00007f7ddc37f003 (diff) | |
download | coreutils-a660862d4ca44ef3bb86a0dabf7402ba7a2922bc.tar.xz |
(tail_lines): Change one more `long' to `off_t'.
Otherwise, tail didn't work on NetBSD. From by Arne H. Juul.
-rw-r--r-- | src/tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c index ba9f45be6..92743147b 100644 --- a/src/tail.c +++ b/src/tail.c @@ -513,7 +513,7 @@ tail_lines (filename, fd, n_lines) long n_lines; { struct stat stats; - long length; + off_t length; if (fstat (fd, &stats)) { |