From f2175ab40a977d15526e7ebc3ad327e3ef825069 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 25 Apr 2020 22:33:57 +0200 Subject: Some work on the elf loader --- src/kernel/fs/ext2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/fs/ext2.c') 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); -- cgit v1.2.3