diff options
Diffstat (limited to 'Kernel/Devices/NullDevice.h')
-rw-r--r-- | Kernel/Devices/NullDevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Devices/NullDevice.h b/Kernel/Devices/NullDevice.h index c7968258f7..4fcc9c0258 100644 --- a/Kernel/Devices/NullDevice.h +++ b/Kernel/Devices/NullDevice.h @@ -41,8 +41,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_write(const FileDescription&, size_t) const override { return true; } virtual bool can_read(const FileDescription&, size_t) const override; virtual const char* class_name() const override { return "NullDevice"; } |