1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 12:17:44 +00:00

Everywhere: Replace a bundle of dbg with dbgln.

These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.
This commit is contained in:
asynts 2021-01-15 00:18:55 +01:00 committed by Andreas Kling
parent a348ab55b0
commit 7b0a1a98d9
12 changed files with 81 additions and 71 deletions

View file

@ -26,11 +26,10 @@
#include "SlavePTY.h"
#include "MasterPTY.h"
#include <AK/Debug.h>
#include <Kernel/FileSystem/DevPtsFS.h>
#include <Kernel/Process.h>
//#define SLAVEPTY_DEBUG
namespace Kernel {
SlavePTY::SlavePTY(MasterPTY& master, unsigned index)
@ -48,9 +47,7 @@ SlavePTY::SlavePTY(MasterPTY& master, unsigned index)
SlavePTY::~SlavePTY()
{
#ifdef SLAVEPTY_DEBUG
dbg() << "~SlavePTY(" << m_index << ")";
#endif
dbgln<debug_slavepty>("~SlavePTY({})", m_index);
DevPtsFS::unregister_slave_pty(*this);
}