summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2020-02-25 00:59:09 +0200
committerAndreas Kling <kling@serenityos.org>2020-02-27 13:05:12 +0100
commita506b2a48eb68f4607b22549b0096e84fd01437d (patch)
tree681e9d8d26d74277296fff40099e8f4a42407b4e
parentd16b26f83ad6f4404970038fd9d8c22e81e4dd9b (diff)
downloadserenity-a506b2a48eb68f4607b22549b0096e84fd01437d.zip
Thread: Use dbg() instead of dbgprintf()
-rw-r--r--Kernel/Thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp
index 4502cd569a..4047a6d6d5 100644
--- a/Kernel/Thread.cpp
+++ b/Kernel/Thread.cpp
@@ -355,9 +355,9 @@ void Thread::send_signal(u8 signal, [[maybe_unused]] Process* sender)
#ifdef SIGNAL_DEBUG
if (sender)
- dbgprintf("signal: %s(%u) sent %d to %s(%u)\n", sender->name().characters(), sender->pid(), signal, process().name().characters(), pid());
+ dbg() << "signal: " << sender->name().characters() << "(" << sender->pid() << ") sent " << signal << " to " << process().name().characters() << "(" << pid() << ")";
else
- dbgprintf("signal: kernel sent %d to %s(%u)\n", signal, process().name().characters(), pid());
+ dbg() << "signal: kernel sent " << signal << " to " << process().name().characters() << "(" << pid() << ")";
#endif
m_pending_signals |= 1 << (signal - 1);