summaryrefslogtreecommitdiff
path: root/Kernel/Storage/StorageDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Storage/StorageDevice.h')
-rw-r--r--Kernel/Storage/StorageDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/StorageDevice.h b/Kernel/Storage/StorageDevice.h
index 53ad1d750e..404551b69c 100644
--- a/Kernel/Storage/StorageDevice.h
+++ b/Kernel/Storage/StorageDevice.h
@@ -40,7 +40,7 @@ public:
virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override;
virtual bool can_read(const OpenFileDescription&, u64) const override;
virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override;
- virtual bool can_write(const OpenFileDescription&, size_t) const override;
+ virtual bool can_write(const OpenFileDescription&, u64) const override;
virtual void prepare_for_unplug() { m_partitions.clear(); }
// FIXME: Remove this method after figuring out another scheme for naming.