diff options
author | Jim Meyering <meyering@redhat.com> | 2010-06-07 07:15:15 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-06-08 13:16:26 +0200 |
commit | 9e7edd8467232b5c6b714d588d0e1528cc54151b (patch) | |
tree | 3894cfe54cb210dbaf5a58a02e72600afc04141b /src/tail.c | |
parent | ad89ea6a0dc4a404871f87eef6e9727c07f4cfb6 (diff) | |
download | coreutils-9e7edd8467232b5c6b714d588d0e1528cc54151b.tar.xz |
maint: adjust INT_BUFSIZE_BOUND usage for maintainability
* src/tail.c (xlseek): Give INT_BUFSIZE_BOUND a variable name,
not a type name.
* src/ls.c (gobble_file, format_user_or_group_width): Likewise.
* src/head.c (elide_tail_bytes_pipe): Likewise.
(elide_tail_lines_seekable, main): Likewise.
[This change is not complete -- there are doubtless other uses
that can be updated in the same way.]
Diffstat (limited to 'src/tail.c')
-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 9e95dee7e..75e9d53e3 100644 --- a/src/tail.c +++ b/src/tail.c @@ -434,7 +434,7 @@ static off_t xlseek (int fd, off_t offset, int whence, char const *filename) { off_t new_offset = lseek (fd, offset, whence); - char buf[INT_BUFSIZE_BOUND (off_t)]; + char buf[INT_BUFSIZE_BOUND (offset)]; char *s; if (0 <= new_offset) |