summaryrefslogtreecommitdiff
path: root/Kernel/ProcFS.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/ProcFS.h')
-rw-r--r--Kernel/ProcFS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/ProcFS.h b/Kernel/ProcFS.h
index ad64feae41..f2b0e0a0e0 100644
--- a/Kernel/ProcFS.h
+++ b/Kernel/ProcFS.h
@@ -87,7 +87,7 @@ private:
virtual bool remove_child(const String& name, int& error) override;
virtual RetainPtr<Inode> parent() const override;
virtual size_t directory_entry_count() const override;
- virtual bool chmod(mode_t, int& error) override;
+ virtual KResult chmod(mode_t) override;
ProcFS& fs() { return static_cast<ProcFS&>(Inode::fs()); }
const ProcFS& fs() const { return static_cast<const ProcFS&>(Inode::fs()); }