summaryrefslogtreecommitdiff
path: root/Kernel/Devices/DeviceControlDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/DeviceControlDevice.h')
-rw-r--r--Kernel/Devices/DeviceControlDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/DeviceControlDevice.h b/Kernel/Devices/DeviceControlDevice.h
index f192778cfb..8eeb0670f8 100644
--- a/Kernel/Devices/DeviceControlDevice.h
+++ b/Kernel/Devices/DeviceControlDevice.h
@@ -25,7 +25,7 @@ private:
virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override;
virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override { return Error::from_errno(ENOTSUP); }
virtual bool can_read(const OpenFileDescription&, u64) const override;
- virtual bool can_write(const OpenFileDescription&, size_t) const override { return false; }
+ virtual bool can_write(const OpenFileDescription&, u64) const override { return false; }
virtual StringView class_name() const override { return "DeviceControlDevice"sv; }
};