mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	MasterPTY: Use dbg() instead of dbgprintf()
This commit is contained in:
		
							parent
							
								
									900865e87c
								
							
						
					
					
						commit
						63a27992e8
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Liav A
						Liav A