Run clang-format on the whole tree
[lttng-tools.git] / src / bin / lttng-sessiond / thread-utils.cpp
index 1b8ff0881b68cbb0276037952078dff60e20e60a..5e8579a5e5fd65567e463256fb348ead05f671ff 100644 (file)
@@ -9,7 +9,9 @@
 
 #include "lttng-sessiond.hpp"
 #include "utils.hpp"
+
 #include <common/utils.hpp>
+
 #include <pthread.h>
 
 /*
@@ -65,7 +67,7 @@ int sessiond_wait_for_main_quit_pipe(int timeout_ms)
                ret = -1;
                goto end;
        }
-       ret = lttng_poll_add(&events, main_quit_pipe[0], LPOLLIN | LPOLLERR);
+       ret = lttng_poll_add(&events, main_quit_pipe[0], LPOLLIN);
        if (ret < 0) {
                PERROR("Failed to add file descriptor to poll/epoll set");
                ret = -1;
@@ -114,7 +116,7 @@ int sessiond_set_thread_pollset(struct lttng_poll_event *events, size_t size)
        }
 
        /* Add main quit pipe */
-       ret = lttng_poll_add(events, main_quit_pipe[0], LPOLLIN | LPOLLERR);
+       ret = lttng_poll_add(events, main_quit_pipe[0], LPOLLIN);
        if (ret < 0) {
                goto error;
        }
This page took 0.023122 seconds and 4 git commands to generate.