summaryrefslogtreecommitdiff
path: root/Kernel/FIFO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FIFO.cpp')
-rw-r--r--Kernel/FIFO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FIFO.cpp b/Kernel/FIFO.cpp
index 9b65dc132b..2fbe23286c 100644
--- a/Kernel/FIFO.cpp
+++ b/Kernel/FIFO.cpp
@@ -51,7 +51,7 @@ bool FIFO::can_read() const
bool FIFO::can_write() const
{
- return true;
+ return m_buffer.bytes_in_write_buffer() < 4096;
}
ssize_t FIFO::read(byte* buffer, size_t size)