diff options
Diffstat (limited to 'Kernel/Bus/VirtIO/ConsolePort.cpp')
-rw-r--r-- | Kernel/Bus/VirtIO/ConsolePort.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/VirtIO/ConsolePort.cpp b/Kernel/Bus/VirtIO/ConsolePort.cpp index e30b227cd4..c484879da9 100644 --- a/Kernel/Bus/VirtIO/ConsolePort.cpp +++ b/Kernel/Bus/VirtIO/ConsolePort.cpp @@ -115,7 +115,7 @@ ErrorOr<size_t> ConsolePort::read(OpenFileDescription& desc, u64, UserOrKernelBu return bytes_copied; } -bool ConsolePort::can_write(const OpenFileDescription&, size_t) const +bool ConsolePort::can_write(const OpenFileDescription&, u64) const { return m_console.get_queue(m_transmit_queue).has_free_slots() && m_transmit_buffer->has_space(); } |