diff options
-rw-r--r-- | include/u_listmode.h | 1 | ||||
-rw-r--r-- | src/socketengine_epoll.cpp | 2 | ||||
-rw-r--r-- | src/socketengine_kqueue.cpp | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/include/u_listmode.h b/include/u_listmode.h index d5416988a..f2abf70ca 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -8,7 +8,6 @@ #include "users.h" #include "channels.h" #include "modules.h" - #include "wildcard.h" #include "inspircd.h" diff --git a/src/socketengine_epoll.cpp b/src/socketengine_epoll.cpp index 89be6cc41..9cc5f90f0 100644 --- a/src/socketengine_epoll.cpp +++ b/src/socketengine_epoll.cpp @@ -92,7 +92,7 @@ bool EPollEngine::DelFd(EventHandler* eh) int i = epoll_ctl(EngineHandle, EPOLL_CTL_DEL, fd, &ev); if (i < 0) { - ServerInstance->Log(DEBUG,"epoll: List deletion failure!"); + ServerInstance->Log(DEBUG,"epoll: List deletion failure: %s",strerror(errno)); return false; } diff --git a/src/socketengine_kqueue.cpp b/src/socketengine_kqueue.cpp index 0792e7920..662be649a 100644 --- a/src/socketengine_kqueue.cpp +++ b/src/socketengine_kqueue.cpp @@ -95,7 +95,7 @@ bool KQueueEngine::DelFd(EventHandler* eh) int i = kevent(EngineHandle, &ke, 1, 0, 0, NULL); if (i == -1) { - ServerInstance->Log(DEBUG,"kqueue: Failed to remove socket from queue!"); + ServerInstance->Log(DEBUG,"kqueue: Failed to remove socket from queue: %s",strerror(errno)); return false; } |