diff options
-rw-r--r-- | src/tail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tail.c b/src/tail.c index a9d89fce9..8575c18ce 100644 --- a/src/tail.c +++ b/src/tail.c @@ -768,9 +768,9 @@ start_bytes (const char *pretty_filename, int fd, uintmax_t n_bytes, n_bytes -= bytes_read; else { - size_t remainder = bytes_read - n_bytes; - if (remainder) - xwrite (STDOUT_FILENO, &buffer[n_bytes], remainder); + size_t n_remaining = bytes_read - n_bytes; + if (n_remaining) + xwrite (STDOUT_FILENO, &buffer[n_bytes], n_remaining); break; } } |