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