From e9d6fbfb478c43e3d23ba71182925985202c75c4 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 14 Feb 2019 17:43:47 +0100 Subject: [PATCH] Kernel: Fix some broken debug log statements. --- Kernel/LocalSocket.cpp | 2 +- Kernel/Socket.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/LocalSocket.cpp b/Kernel/LocalSocket.cpp index 3b7f292912f..8d7a1f171c5 100644 --- a/Kernel/LocalSocket.cpp +++ b/Kernel/LocalSocket.cpp @@ -12,7 +12,7 @@ RetainPtr LocalSocket::create(int type) LocalSocket::LocalSocket(int type) : Socket(AF_LOCAL, type, 0) { - kprintf("%s(%u) LocalSocket{%p} created with type=%u\n", current->name().characters(), current->pid(), type); + kprintf("%s(%u) LocalSocket{%p} created with type=%u\n", current->name().characters(), current->pid(), this, type); } LocalSocket::~LocalSocket() diff --git a/Kernel/Socket.cpp b/Kernel/Socket.cpp index 129b44fdeb5..7262fffcce7 100644 --- a/Kernel/Socket.cpp +++ b/Kernel/Socket.cpp @@ -37,7 +37,7 @@ bool Socket::listen(int backlog, int& error) } m_backlog = backlog; m_listening = true; - kprintf("Socket{%p} listening with backlog=%d\n", m_backlog); + kprintf("Socket{%p} listening with backlog=%d\n", this, m_backlog); return true; }