diff options
author | asynts <asynts@gmail.com> | 2021-01-15 00:18:55 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-22 22:14:30 +0100 |
commit | 7b0a1a98d9edc5ae91df9138b695fb2bb3ead4b7 (patch) | |
tree | 460a80e34939ad908e27412bd123d733866784a2 /Kernel/TTY/SlavePTY.cpp | |
parent | a348ab55b038386bd2d0acc0c8de1c8927de12fe (diff) | |
download | serenity-7b0a1a98d9edc5ae91df9138b695fb2bb3ead4b7.zip |
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.
Diffstat (limited to 'Kernel/TTY/SlavePTY.cpp')
-rw-r--r-- | Kernel/TTY/SlavePTY.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Kernel/TTY/SlavePTY.cpp b/Kernel/TTY/SlavePTY.cpp index 8d74137d69..a4704616dd 100644 --- a/Kernel/TTY/SlavePTY.cpp +++ b/Kernel/TTY/SlavePTY.cpp @@ -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); } |