mirror of https://github.com/F-Stack/f-stack.git
Fix waring.
This commit is contained in:
parent
85173ced83
commit
1b25a84cc6
|
@ -1789,7 +1789,7 @@ RETRY:
|
||||||
fd, fstack_kernel_fd_map[fd], kernel_maxevents);
|
fd, fstack_kernel_fd_map[fd], kernel_maxevents);
|
||||||
if (likely(fstack_kernel_fd_map[fd] > 0)) {
|
if (likely(fstack_kernel_fd_map[fd] > 0)) {
|
||||||
static uint64_t count = 0;
|
static uint64_t count = 0;
|
||||||
if (unlikely(count & 0xff == 0)) {
|
if (unlikely((count & 0xff) == 0)) {
|
||||||
kernel_ret = ff_linux_epoll_wait(fstack_kernel_fd_map[fd], events, kernel_maxevents, 0);
|
kernel_ret = ff_linux_epoll_wait(fstack_kernel_fd_map[fd], events, kernel_maxevents, 0);
|
||||||
DEBUG_LOG("ff_linux_epoll_wait kernel_ret:%d, errno:%d\n", ret, errno);
|
DEBUG_LOG("ff_linux_epoll_wait kernel_ret:%d, errno:%d\n", ret, errno);
|
||||||
if (kernel_ret < 0) {
|
if (kernel_ret < 0) {
|
||||||
|
|
Loading…
Reference in New Issue