diff options
author | Jim Meyering <jim@meyering.net> | 1998-12-07 03:12:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-12-07 03:12:10 +0000 |
commit | 7d60769bead4b89a096e10bacbb503702ea6e44c (patch) | |
tree | c03ba9bef1c0339b2f4cbe993acff983cddb2146 /lib/fileblocks.c | |
parent | 604b3b397d5aa9ee10749f582fd67f1d2ae91a7f (diff) | |
download | coreutils-7d60769bead4b89a096e10bacbb503702ea6e44c.tar.xz |
ansideclify
Diffstat (limited to 'lib/fileblocks.c')
-rw-r--r-- | lib/fileblocks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/fileblocks.c b/lib/fileblocks.c index 0c182d8e0..1a44516f3 100644 --- a/lib/fileblocks.c +++ b/lib/fileblocks.c @@ -50,8 +50,7 @@ typedef long daddr_t; /* for disk address */ /* Return the number of 512-byte blocks in a file of SIZE bytes. */ off_t -st_blocks (size) - off_t size; +st_blocks (off_t size) { off_t datablks = size / 512 + (size % 512 != 0); off_t indrblks = 0; |