diff options
Diffstat (limited to 'Kernel/Devices/KCOVDevice.h')
-rw-r--r-- | Kernel/Devices/KCOVDevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/KCOVDevice.h b/Kernel/Devices/KCOVDevice.h index c8eebf8c31..8d2af84c92 100644 --- a/Kernel/Devices/KCOVDevice.h +++ b/Kernel/Devices/KCOVDevice.h @@ -31,7 +31,7 @@ protected: virtual StringView class_name() const override { return "KCOVDevice"sv; } virtual bool can_read(const OpenFileDescription&, u64) const override final { return true; } - virtual bool can_write(const OpenFileDescription&, size_t) const override final { return true; } + virtual bool can_write(const OpenFileDescription&, u64) const override final { return true; } virtual void start_request(AsyncBlockDeviceRequest& request) override final { request.complete(AsyncDeviceRequest::Failure); } virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override { return EINVAL; } virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override { return EINVAL; } |