aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/ext2.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-25 22:33:57 +0200
committerMarvin Borner2020-04-25 22:33:57 +0200
commitf2175ab40a977d15526e7ebc3ad327e3ef825069 (patch)
tree5cfa998facc0280624ae54d61506305d25d5b8f8 /src/kernel/fs/ext2.c
parentcc9323db37e5aa33caddeddc625380a46783d510 (diff)
Some work on the elf loader
Diffstat (limited to 'src/kernel/fs/ext2.c')
-rw-r--r--src/kernel/fs/ext2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/fs/ext2.c b/src/kernel/fs/ext2.c
index afab33d..5fb0158 100644
--- a/src/kernel/fs/ext2.c
+++ b/src/kernel/fs/ext2.c
@@ -241,7 +241,7 @@ uint8_t *read_file(char *path)
ext2_open_inode(inode, &file);
if (inode != 0) {
size_t size = file.inode.size;
- debug("%dKiB", size >> 10);
+ debug("Reading %s: %dKiB", path, size >> 10);
uint8_t *buf = kmalloc(size);
ext2_read(&file, buf, size);
kfree(file.buf);