diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-14 17:43:47 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-14 17:43:47 +0100 |
commit | e9d6fbfb478c43e3d23ba71182925985202c75c4 (patch) | |
tree | 62b5ab48a4b6fd43fe64584245b2785a446c52c1 | |
parent | c7f5213d5bd7e340bbcb56f800520f316fc7bada (diff) | |
download | serenity-e9d6fbfb478c43e3d23ba71182925985202c75c4.zip |
Kernel: Fix some broken debug log statements.
-rw-r--r-- | Kernel/LocalSocket.cpp | 2 | ||||
-rw-r--r-- | Kernel/Socket.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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> 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; } |