X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fcompat-epoll.c;h=9c2688d33e09c3c774b914b366226424504324e7;hb=22dad56815ce0201c5ae7d5ef5d79cc0c6a42c5e;hp=6259fd3895e46b9b27826944c1b7574b72b72ff3;hpb=5de62fd8518cb268e2655a20b38a0efdeb2882de;p=lttng-tools.git diff --git a/src/common/compat/compat-epoll.c b/src/common/compat/compat-epoll.c index 6259fd389..9c2688d33 100644 --- a/src/common/compat/compat-epoll.c +++ b/src/common/compat/compat-epoll.c @@ -76,8 +76,9 @@ int compat_epoll_create(struct lttng_poll_event *events, int size, int flags) } if (!poll_max_size) { - ERR("poll_max_size not initialized yet"); - goto error; + if (lttng_poll_set_max_size()) { + goto error; + } } /* Don't bust the limit here */