diff options
Diffstat (limited to 'src/loader/fs/ext2.c')
-rw-r--r-- | src/loader/fs/ext2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/fs/ext2.c b/src/loader/fs/ext2.c index fd46ca6..a7d4662 100644 --- a/src/loader/fs/ext2.c +++ b/src/loader/fs/ext2.c @@ -134,7 +134,7 @@ static u32 ext2_find_inode(const char *name, u32 dir_inode, struct dev *dev) } d = (struct ext2_dirent *)((u32)d + d->total_len); - } while (sum < (1024 * i.blocks / 2)); + } while (sum < (BLOCK_SIZE * i.blocks / 2)); return (unsigned)-1; } |