mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
MasterPTY: Use dbg() instead of dbgprintf()
This commit is contained in:
parent
900865e87c
commit
63a27992e8
Notes:
sideshowbarker
2024-07-19 09:00:12 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/63a27992e85 Pull-request: https://github.com/SerenityOS/serenity/pull/1290
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ MasterPTY::MasterPTY(unsigned index)
|
|||
MasterPTY::~MasterPTY()
|
||||
{
|
||||
#ifdef MASTERPTY_DEBUG
|
||||
dbgprintf("~MasterPTY(%u)\n", m_index);
|
||||
dbg() << "~MasterPTY(" << m_index << ")";
|
||||
#endif
|
||||
PTYMultiplexer::the().notify_master_destroyed({}, m_index);
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ bool MasterPTY::can_write(const FileDescription&) const
|
|||
void MasterPTY::notify_slave_closed(Badge<SlavePTY>)
|
||||
{
|
||||
#ifdef MASTERPTY_DEBUG
|
||||
dbgprintf("MasterPTY(%u): slave closed, my retains: %u, slave retains: %u\n", m_index, ref_count(), m_slave->ref_count());
|
||||
dbg() << "MasterPTY(" << m_index << "): slave closed, my retains: " << ref_count() << ", slave retains: " << m_slave->ref_count();
|
||||
#endif
|
||||
// +1 ref for my MasterPTY::m_slave
|
||||
// +1 ref for FileDescription::m_device
|
||||
|
|
Loading…
Reference in a new issue