diff options
author | Marvin Borner | 2021-07-05 23:22:24 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-05 23:27:40 +0200 |
commit | 23aa6f84539ba320a91235fb81681d0754178f62 (patch) | |
tree | 972b0a4abc41900538bda23f4ac2145abf94e369 /src/loader/fs | |
parent | d1476974cd612412eefc40c6dc72ba66191136fd (diff) |
ACPI and config parsing
Diffstat (limited to 'src/loader/fs')
-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; } |