diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-24 17:31:10 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-24 17:31:10 +0100 |
commit | d89c862fb2f569275300d6a64caaa0b287367558 (patch) | |
tree | e3572ee543f9f5189289e466fdf67a911504be20 /src/kernel/core | |
parent | 150dd5f860a5f22a8c3bcc1bf3a1f2e36dcf6fd8 (diff) | |
download | kogata-d89c862fb2f569275300d6a64caaa0b287367558.tar.gz kogata-d89c862fb2f569275300d6a64caaa0b287367558.zip |
Fix a bug (dispose in pciide should not exist)
Diffstat (limited to 'src/kernel/core')
-rw-r--r-- | src/kernel/core/kmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/core/kmain.c b/src/kernel/core/kmain.c index 7bdf27d..8242f99 100644 --- a/src/kernel/core/kmain.c +++ b/src/kernel/core/kmain.c @@ -251,7 +251,7 @@ fs_t *setup_rootfs(btree_t *cmdline, fs_t *iofs) { fs_handle_t *root_dev = fs_open(iofs, root, FM_READ | FM_WRITE | FM_IOCTL); if (root_dev == 0) { dbg_printf("read-only... "); - root_dev = fs_open(iofs, root, FM_READ | FM_WRITE | FM_IOCTL); + root_dev = fs_open(iofs, root, FM_READ | FM_IOCTL); } dbg_printf("\n"); if (root_dev == 0) PANIC("Could not open root device."); |