summaryrefslogtreecommitdiffhomepage
path: root/src/loader/fs
diff options
context:
space:
mode:
authorMarvin Borner2021-07-05 23:22:24 +0200
committerMarvin Borner2021-07-05 23:27:40 +0200
commit23aa6f84539ba320a91235fb81681d0754178f62 (patch)
tree972b0a4abc41900538bda23f4ac2145abf94e369 /src/loader/fs
parentd1476974cd612412eefc40c6dc72ba66191136fd (diff)
ACPI and config parsing
Diffstat (limited to 'src/loader/fs')
-rw-r--r--src/loader/fs/ext2.c2
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;
}