diff options
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; |