diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-14 14:02:47 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-14 15:19:00 +0200 |
commit | d30d776ca46b12d7f4f9b5b7bdbfb247813a94af (patch) | |
tree | 396e08592d2c733fa1414314a1a63f031bd8686e /Kernel/FileSystem/DevPtsFS.h | |
parent | 46b93174fce7ec46f45529f83672ccdac9dd6079 (diff) | |
download | serenity-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/DevPtsFS.h')
-rw-r--r-- | Kernel/FileSystem/DevPtsFS.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/DevPtsFS.h b/Kernel/FileSystem/DevPtsFS.h index 68c539bb42..9efbb3ba00 100644 --- a/Kernel/FileSystem/DevPtsFS.h +++ b/Kernel/FileSystem/DevPtsFS.h @@ -22,7 +22,7 @@ public: virtual ~DevPtsFS() override; static NonnullRefPtr<DevPtsFS> create(); - virtual bool initialize() override; + virtual KResult initialize() override; virtual StringView class_name() const override { return "DevPtsFS"sv; } virtual Inode& root_inode() override; |