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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Devices/ZeroDevice.h b/Kernel/Devices/ZeroDevice.h
index 0f3e76e5d6..f307c6f645 100644
--- a/Kernel/Devices/ZeroDevice.h
+++ b/Kernel/Devices/ZeroDevice.h
@@ -38,8 +38,8 @@ public:
private:
// ^CharacterDevice
- 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_read(const FileDescription&, size_t) const override;
virtual bool can_write(const FileDescription&, size_t) const override { return true; }
virtual const char* class_name() const override { return "ZeroDevice"; }