diff options
Diffstat (limited to 'Kernel/PTYMultiplexer.cpp')
-rw-r--r-- | Kernel/PTYMultiplexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/PTYMultiplexer.cpp b/Kernel/PTYMultiplexer.cpp index 26403e898c..33a1e3cc0f 100644 --- a/Kernel/PTYMultiplexer.cpp +++ b/Kernel/PTYMultiplexer.cpp @@ -5,7 +5,7 @@ PTYMultiplexer::PTYMultiplexer() : CharacterDevice(5, 2) { - m_freelist.ensureCapacity(4); + m_freelist.ensure_capacity(4); for (int i = 4; i > 0; --i) m_freelist.unchecked_append(adopt(*new MasterPTY(i - 1))); } @@ -21,7 +21,7 @@ RetainPtr<FileDescriptor> PTYMultiplexer::open(int& error, int options) error = -EBUSY; return nullptr; } - auto master = m_freelist.takeLast(); + auto master = m_freelist.take_last(); dbgprintf("PTYMultiplexer::open: Vending master %u\n", master->index()); return VFS::the().open(move(master), error, options); } |