diff --git a/Kernel/LocalSocket.cpp b/Kernel/LocalSocket.cpp index 3b7f292912..8d7a1f171c 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 129b44fdeb..7262fffcce 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; }