diff options
Diffstat (limited to 'Kernel/FileSystem/InodeWatcher.h')
-rw-r--r-- | Kernel/FileSystem/InodeWatcher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/InodeWatcher.h b/Kernel/FileSystem/InodeWatcher.h index 8c23c0e217..39d80652ab 100644 --- a/Kernel/FileSystem/InodeWatcher.h +++ b/Kernel/FileSystem/InodeWatcher.h @@ -47,7 +47,7 @@ public: virtual bool can_read(const OpenFileDescription&, u64) const override; virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override; // Can't write to an inode watcher. - virtual bool can_write(const OpenFileDescription&, size_t) const override { return true; } + virtual bool can_write(const OpenFileDescription&, u64) const override { return true; } virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override { return EIO; } virtual ErrorOr<void> close() override; |