more log for epoll_wait

This commit is contained in:
wangyu- 2017-11-23 09:56:20 -06:00
parent f081ab751d
commit 3bc07d5c86

View File

@ -1202,7 +1202,7 @@ int client_event_loop()
}
else
{
mylog(log_fatal,"epoll_wait return %d\n", nfds);
mylog(log_fatal,"epoll_wait return %d,%s\n", nfds,strerror(errno));
myexit(-1);
}
}
@ -1445,7 +1445,7 @@ int server_event_loop()
}
else
{
mylog(log_fatal,"epoll_wait return %d\n", nfds);
mylog(log_fatal,"epoll_wait return %d,%s\n", nfds,strerror(errno));
myexit(-1);
}
}