summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/events.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c
index 92c1f7fd1d..8deaa18edb 100644
--- a/source3/lib/events.c
+++ b/source3/lib/events.c
@@ -189,6 +189,9 @@ static int s3_event_loop_once(struct tevent_context *ev)
ret = sys_select(maxfd+1, &r_fds, &w_fds, NULL, &to);
if (ret == -1 && errno != EINTR) {
+ tevent_debug(ev, TEVENT_DEBUG_FATAL,
+ "sys_select() failed: %d:%s\n",
+ errno, strerror(errno));
return -1;
}