diff options
Diffstat (limited to 'Source/Kernel/Core/kmain.wtf.cpp')
-rw-r--r-- | Source/Kernel/Core/kmain.wtf.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Kernel/Core/kmain.wtf.cpp b/Source/Kernel/Core/kmain.wtf.cpp index 9ef55e9..d2f8c7b 100644 --- a/Source/Kernel/Core/kmain.wtf.cpp +++ b/Source/Kernel/Core/kmain.wtf.cpp @@ -148,6 +148,7 @@ void kmain(multiboot_info_t* mbd, u32int magic) { FileSystem* fs = RamFS::mount((u8int*)mods[0].mod_start, 1024 * 1024, NULL); DirectoryNode* cwd; cwd = fs->getRootNode(); + Task::currProcess()->setCwd(cwd); VFS::setRootNode(cwd); OK(kvt); PROCESSING(kvt, "Setting up logs..."); |