summaryrefslogtreecommitdiff
path: root/Kernel/PS2MouseDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/PS2MouseDevice.h')
-rw-r--r--Kernel/PS2MouseDevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/PS2MouseDevice.h b/Kernel/PS2MouseDevice.h
index 5f616a3933..c5cbc436a6 100644
--- a/Kernel/PS2MouseDevice.h
+++ b/Kernel/PS2MouseDevice.h
@@ -12,8 +12,8 @@ public:
// ^CharacterDevice
virtual bool can_read(Process&) const override;
- virtual ssize_t read(Process&, byte* buffer, size_t) override;
- virtual ssize_t write(Process&, const byte* buffer, size_t) override;
+ virtual ssize_t read(Process&, byte*, ssize_t) override;
+ virtual ssize_t write(Process&, const byte*, ssize_t) override;
virtual bool can_write(Process&) const override { return true; }
private: