summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/ProcFS.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-14 14:02:47 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-14 15:19:00 +0200
commitd30d776ca46b12d7f4f9b5b7bdbfb247813a94af (patch)
tree396e08592d2c733fa1414314a1a63f031bd8686e /Kernel/FileSystem/ProcFS.cpp
parent46b93174fce7ec46f45529f83672ccdac9dd6079 (diff)
downloadserenity-d30d776ca46b12d7f4f9b5b7bdbfb247813a94af.zip
Kernel: Make FileSystem::initialize() return KResult
This forced me to also come up with error codes for a bunch of situations where we'd previously just panic the kernel.
Diffstat (limited to 'Kernel/FileSystem/ProcFS.cpp')
-rw-r--r--Kernel/FileSystem/ProcFS.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp
index 59c0864fe8..b92200ea6d 100644
--- a/Kernel/FileSystem/ProcFS.cpp
+++ b/Kernel/FileSystem/ProcFS.cpp
@@ -51,9 +51,9 @@ ProcFS::~ProcFS()
{
}
-bool ProcFS::initialize()
+KResult ProcFS::initialize()
{
- return true;
+ return KSuccess;
}
Inode& ProcFS::root_inode()