summaryrefslogtreecommitdiff
path: root/Kernel/Devices/SB16.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/SB16.h')
-rw-r--r--Kernel/Devices/SB16.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Devices/SB16.h b/Kernel/Devices/SB16.h
index e0d5ba7ca3..cc18fde5ef 100644
--- a/Kernel/Devices/SB16.h
+++ b/Kernel/Devices/SB16.h
@@ -47,8 +47,8 @@ public:
// ^CharacterDevice
virtual bool can_read(const FileDescription&, size_t) const override;
- virtual KResultOr<size_t> read(FileDescription&, size_t, u8*, size_t) override;
- virtual KResultOr<size_t> write(FileDescription&, size_t, const u8*, size_t) override;
+ virtual KResultOr<size_t> read(FileDescription&, size_t, UserOrKernelBuffer&, size_t) override;
+ virtual KResultOr<size_t> write(FileDescription&, size_t, const UserOrKernelBuffer&, size_t) override;
virtual bool can_write(const FileDescription&, size_t) const override { return true; }
virtual const char* purpose() const override { return class_name(); }