summaryrefslogtreecommitdiff
path: root/Kernel/ProcFS.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-27 15:31:26 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-27 15:31:26 +0100
commit60d0a48be5e3ce692e4ecd57df475c9245e1f84a (patch)
tree395a0d70b9dc980095e6f9cdf013e8b58534c7af /Kernel/ProcFS.h
parent5b27f11b97184d0395d077100e96fdca6bfb333f (diff)
downloadserenity-60d0a48be5e3ce692e4ecd57df475c9245e1f84a.zip
Kernel: Use KResult in link().
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 563a1ef745..35b0264d84 100644
--- a/Kernel/ProcFS.h
+++ b/Kernel/ProcFS.h
@@ -83,7 +83,7 @@ private:
virtual String reverse_lookup(InodeIdentifier) override;
virtual void flush_metadata() override;
virtual ssize_t write_bytes(off_t, ssize_t, const byte* buffer, FileDescriptor*) override;
- virtual bool add_child(InodeIdentifier child_id, const String& name, byte file_type, int& error) override;
+ virtual KResult add_child(InodeIdentifier child_id, const String& name, byte file_type) override;
virtual KResult remove_child(const String& name) override;
virtual RetainPtr<Inode> parent() const override;
virtual size_t directory_entry_count() const override;