diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-23 19:40:08 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-23 19:40:08 +0200 |
commit | 48de0cd029b52f64f76345b6e1fdf3cde5c58de3 (patch) | |
tree | 792061381c556bef6639b327716cca107f6168c5 /Source/Kernel/Core | |
parent | f0556ed7f051fb101dc68752526696365bf79a11 (diff) | |
download | Melon-48de0cd029b52f64f76345b6e1fdf3cde5c58de3.tar.gz Melon-48de0cd029b52f64f76345b6e1fdf3cde5c58de3.zip |
More work on syscalls and shell
Diffstat (limited to 'Source/Kernel/Core')
-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..."); |