summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index b8bc868b7a..650cbb8992 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -122,7 +122,10 @@ VFS* vfs;
auto procfs = ProcFS::create();
procfs->initialize();
vfs->mount(procfs, "/proc");
- vfs->mount(DevPtsFS::the(), "/dev/pts");
+
+ auto devptsfs = DevPtsFS::create();
+ devptsfs->initialize();
+ vfs->mount(devptsfs, "/dev/pts");
auto tmpfs = TmpFS::create();
if (!tmpfs->initialize())