aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/ext2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/ext2.c')
-rw-r--r--src/kernel/fs/ext2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/kernel/fs/ext2.c b/src/kernel/fs/ext2.c
index 7ce0601..c95c134 100644
--- a/src/kernel/fs/ext2.c
+++ b/src/kernel/fs/ext2.c
@@ -36,7 +36,7 @@ void ext2_init_fs()
struct ext2_dirent dirent;
while (ext2_next_dirent(&file, &dirent))
- log("Inode %d, name `%s'", dirent.inode_num, dirent.name);
+ log("Inode %d, name '%s'", dirent.inode_num, dirent.name);
kfree(file.buf);
@@ -46,7 +46,6 @@ void ext2_init_fs()
log("File not found");
else
log("Found: inode = %d", inode);
- panic("nice");
}
static void read_block(uint32_t block_num, void *buf)
@@ -70,7 +69,7 @@ static void load_superblock()
assert(superblock.signature == EXT2_SIGNATURE);
log("Total inodes = 0x%x", superblock.total_inodes);
log("Total blocks = 0x%x", superblock.total_blocks);
- log("Block size = %b", block_size);
+ log("Block size = %d", block_size);
log("Num blocks = %d", superblock.total_blocks);
log("Blocks/group = %d", superblock.blocks_per_group);
log("Inodes/group = %d", superblock.inodes_per_group);