summaryrefslogtreecommitdiff
path: root/Kernel/Devices/ZeroDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/ZeroDevice.h')
-rw-r--r--Kernel/Devices/ZeroDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/ZeroDevice.h b/Kernel/Devices/ZeroDevice.h
index 090fcf97c5..aab5633abf 100644
--- a/Kernel/Devices/ZeroDevice.h
+++ b/Kernel/Devices/ZeroDevice.h
@@ -24,7 +24,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;
virtual bool can_read(const OpenFileDescription&, u64) const override;
- virtual bool can_write(const OpenFileDescription&, size_t) const override { return true; }
+ virtual bool can_write(const OpenFileDescription&, u64) const override { return true; }
virtual StringView class_name() const override { return "ZeroDevice"sv; }
};