mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
PTYMultiplexer: Use dbg() instead of dbgprintf()
This commit is contained in:
parent
a506b2a48e
commit
ac9a001b92
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ KResultOr<NonnullRefPtr<FileDescription>> PTYMultiplexer::open(int options)
|
|||
auto master_index = m_freelist.take_last();
|
||||
auto master = adopt(*new MasterPTY(master_index));
|
||||
#ifdef PTMX_DEBUG
|
||||
dbgprintf("PTYMultiplexer::open: Vending master %u\n", master->index());
|
||||
dbg() << "PTYMultiplexer::open: Vending master " << master->index();
|
||||
#endif
|
||||
auto description = FileDescription::create(move(master));
|
||||
description->set_rw_mode(options);
|
||||
|
@ -77,7 +77,7 @@ void PTYMultiplexer::notify_master_destroyed(Badge<MasterPTY>, unsigned index)
|
|||
LOCKER(m_lock);
|
||||
m_freelist.append(index);
|
||||
#ifdef PTMX_DEBUG
|
||||
dbgprintf("PTYMultiplexer: %u added to freelist\n", index);
|
||||
dbg() << "PTYMultiplexer: " << index << " added to freelist";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue