summaryrefslogtreecommitdiff
path: root/Kernel/TTY/PTYMultiplexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/TTY/PTYMultiplexer.cpp')
-rw-r--r--Kernel/TTY/PTYMultiplexer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/TTY/PTYMultiplexer.cpp b/Kernel/TTY/PTYMultiplexer.cpp
index 22ae1312c0..77578c3b1d 100644
--- a/Kernel/TTY/PTYMultiplexer.cpp
+++ b/Kernel/TTY/PTYMultiplexer.cpp
@@ -40,9 +40,9 @@ void PTYMultiplexer::initialize()
the().after_inserting();
}
-KResultOr<NonnullRefPtr<OpenFileDescription>> PTYMultiplexer::open(int options)
+ErrorOr<NonnullRefPtr<OpenFileDescription>> PTYMultiplexer::open(int options)
{
- return m_freelist.with_exclusive([&](auto& freelist) -> KResultOr<NonnullRefPtr<OpenFileDescription>> {
+ return m_freelist.with_exclusive([&](auto& freelist) -> ErrorOr<NonnullRefPtr<OpenFileDescription>> {
if (freelist.is_empty())
return EBUSY;