summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/InodeFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/InodeFile.h')
-rw-r--r--Kernel/FileSystem/InodeFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/InodeFile.h b/Kernel/FileSystem/InodeFile.h
index 90508e8b0b..478fe9347d 100644
--- a/Kernel/FileSystem/InodeFile.h
+++ b/Kernel/FileSystem/InodeFile.h
@@ -28,7 +28,7 @@ public:
Inode& inode() { return *m_inode; }
virtual bool can_read(const OpenFileDescription&, u64) const override { return true; }
- 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> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override;
virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override;