summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/FileDescriptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'VirtualFileSystem/FileDescriptor.cpp')
-rw-r--r--VirtualFileSystem/FileDescriptor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/VirtualFileSystem/FileDescriptor.cpp b/VirtualFileSystem/FileDescriptor.cpp
index 7cc7cdb961..7fb9700907 100644
--- a/VirtualFileSystem/FileDescriptor.cpp
+++ b/VirtualFileSystem/FileDescriptor.cpp
@@ -173,14 +173,14 @@ bool FileDescriptor::can_write()
return true;
}
-bool FileDescriptor::has_data_available_for_reading()
+bool FileDescriptor::has_data_available_for_reading(Process& process)
{
if (is_fifo()) {
ASSERT(fifo_direction() == FIFO::Reader);
return m_fifo->can_read();
}
if (m_vnode->isCharacterDevice())
- return m_vnode->characterDevice()->has_data_available_for_reading();
+ return m_vnode->characterDevice()->has_data_available_for_reading(process);
return true;
}