diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-24 21:17:33 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-24 21:17:33 +0100 |
commit | 858f78702424e4c0eb59bf7678e84f7b3a65fde2 (patch) | |
tree | 823ef6ebe453d5ddc6304d7de790f15d70d69735 /src/kernel/core/kmain.c | |
parent | 97b99304ee11cf82235d35c8e4772e8ef3fc2420 (diff) | |
download | kogata-858f78702424e4c0eb59bf7678e84f7b3a65fde2.tar.gz kogata-858f78702424e4c0eb59bf7678e84f7b3a65fde2.zip |
Fix calculations in iso9660_fh_read
Diffstat (limited to 'src/kernel/core/kmain.c')
-rw-r--r-- | src/kernel/core/kmain.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/kernel/core/kmain.c b/src/kernel/core/kmain.c index c08d749..8242f99 100644 --- a/src/kernel/core/kmain.c +++ b/src/kernel/core/kmain.c @@ -155,22 +155,6 @@ void kernel_init_stage2(void* data) { fs_t *rootfs = 0; if (btree_find(cmdline, "root") != 0) rootfs = setup_rootfs(cmdline, iofs); - if (rootfs != 0) { - fs_handle_t *readme = fs_open(rootfs, "/readme.md", FM_READ); - if (readme != 0) { - char buf[100]; - dbg_printf("Read %d.\n", file_read(readme, 0, 100, buf)); - buf[99] = 0; - dbg_printf("%s\n", buf); - unref_file(readme); - } - } - - void iter(void* a, void* b) { - dbg_printf("'%s': '%s' (0x%p, 0x%p)\n", a, b, a, b); - } - btree_iter(cmdline, iter); - launch_init(cmdline, iofs, rootfs); // We are done here |