summaryrefslogtreecommitdiff
path: root/isofs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'isofs/inode.c')
-rw-r--r--isofs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isofs/inode.c b/isofs/inode.c
index 48079caf..13777b6d 100644
--- a/isofs/inode.c
+++ b/isofs/inode.c
@@ -390,7 +390,7 @@ read_disknode (struct node *np, struct dirrect *dr,
}
st->st_blksize = logical_block_size;
- st->st_blocks = (st->st_size - 1) / logical_block_size + 1;
+ st->st_blocks = (st->st_size - 1) / 512 + 1;
st->st_flags = 0;
if (S_ISLNK (st->st_mode))