summaryrefslogtreecommitdiff
path: root/Kernel/Bus/VirtIO/ConsolePort.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Bus/VirtIO/ConsolePort.h')
-rw-r--r--Kernel/Bus/VirtIO/ConsolePort.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/VirtIO/ConsolePort.h b/Kernel/Bus/VirtIO/ConsolePort.h
index 44c50f09b9..40797ab397 100644
--- a/Kernel/Bus/VirtIO/ConsolePort.h
+++ b/Kernel/Bus/VirtIO/ConsolePort.h
@@ -39,7 +39,7 @@ private:
virtual bool can_read(const OpenFileDescription&, u64) const override;
virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override;
- virtual bool can_write(const OpenFileDescription&, size_t) const override;
+ virtual bool can_write(const OpenFileDescription&, u64) const override;
virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override;
virtual ErrorOr<NonnullRefPtr<OpenFileDescription>> open(int options) override;