Kernel: Fix some broken debug log statements.

This commit is contained in:
Andreas Kling 2019-02-14 17:43:47 +01:00
parent c7f5213d5b
commit e9d6fbfb47
Notes: sideshowbarker 2024-07-19 15:42:48 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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;
}