summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/DevPtsFS.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/DevPtsFS.h')
-rw-r--r--Kernel/FileSystem/DevPtsFS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/DevPtsFS.h b/Kernel/FileSystem/DevPtsFS.h
index a8ddc6cc58..725f45a267 100644
--- a/Kernel/FileSystem/DevPtsFS.h
+++ b/Kernel/FileSystem/DevPtsFS.h
@@ -42,7 +42,7 @@ public:
virtual const char* class_name() const override { return "DevPtsFS"; }
virtual InodeIdentifier root_inode() const override;
- virtual RefPtr<Inode> create_inode(InodeIdentifier parent_inode, const String& name, mode_t, off_t size, dev_t, uid_t, gid_t, int& error) override;
+ virtual KResultOr<NonnullRefPtr<Inode>> create_inode(InodeIdentifier parent_id, const String& name, mode_t, off_t size, dev_t, uid_t, gid_t) override;
virtual KResult create_directory(InodeIdentifier parent_inode, const String& name, mode_t, uid_t, gid_t) override;
virtual RefPtr<Inode> get_inode(InodeIdentifier) const override;