summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/InodeWatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/InodeWatcher.h')
-rw-r--r--Kernel/FileSystem/InodeWatcher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/InodeWatcher.h b/Kernel/FileSystem/InodeWatcher.h
index 626f190d56..31a094b88f 100644
--- a/Kernel/FileSystem/InodeWatcher.h
+++ b/Kernel/FileSystem/InodeWatcher.h
@@ -55,8 +55,8 @@ public:
virtual bool can_read(const FileDescription&, size_t) const override;
virtual bool can_write(const FileDescription&, size_t) const override;
- virtual ssize_t read(FileDescription&, size_t, u8*, ssize_t) override;
- virtual ssize_t write(FileDescription&, size_t, const u8*, ssize_t) override;
+ virtual KResultOr<size_t> read(FileDescription&, size_t, u8*, size_t) override;
+ virtual KResultOr<size_t> write(FileDescription&, size_t, const u8*, size_t) override;
virtual String absolute_path(const FileDescription&) const override;
virtual const char* class_name() const override { return "InodeWatcher"; };