summaryrefslogtreecommitdiff
path: root/Kernel/Devices/SerialDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/SerialDevice.h')
-rw-r--r--Kernel/Devices/SerialDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/SerialDevice.h b/Kernel/Devices/SerialDevice.h
index e8d78f2410..4da3c7439d 100644
--- a/Kernel/Devices/SerialDevice.h
+++ b/Kernel/Devices/SerialDevice.h
@@ -22,7 +22,7 @@ public:
// ^CharacterDevice
virtual bool can_read(const OpenFileDescription&, u64) const override;
virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override;
- virtual bool can_write(const OpenFileDescription&, size_t) const override;
+ virtual bool can_write(const OpenFileDescription&, u64) const override;
virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override;
void put_char(char);