wayland: Print error code if accept fails for security context's listen fd
This commit is contained in:
parent
de15b87ea7
commit
856925bcc3
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ void SecurityContext::onListenFdActivated(QSocketDescriptor socketDescriptor)
|
|||
{
|
||||
const int clientFd = accept4(socketDescriptor, nullptr, nullptr, SOCK_CLOEXEC);
|
||||
if (clientFd < 0) {
|
||||
qCWarning(KWIN_CORE) << "Failed to accept client from security listen FD";
|
||||
qCWarning(KWIN_CORE) << "Failed to accept client from security listen FD:" << strerror(errno);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue