X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.cpp;fp=src%2Fbin%2Flttng-sessiond%2Frotation-thread.cpp;h=aa6ba07800d6dac81340405c6023e9d9d4dc3fa1;hp=22891dd13ec4d5f20c99d10aa650c0fe0af65e7c;hb=1524f98c04431d04e50796f83a9dd29184b3a8a4;hpb=8d5a3312b34841f1ecba2605acad3eaca79fd5e4 diff --git a/src/bin/lttng-sessiond/rotation-thread.cpp b/src/bin/lttng-sessiond/rotation-thread.cpp index 22891dd13..aa6ba0780 100644 --- a/src/bin/lttng-sessiond/rotation-thread.cpp +++ b/src/bin/lttng-sessiond/rotation-thread.cpp @@ -257,8 +257,7 @@ int init_poll_set(struct lttng_poll_event *poll_set, } ret = lttng_poll_add(poll_set, - lttng_pipe_get_readfd(handle->quit_pipe), - LPOLLIN | LPOLLERR); + lttng_pipe_get_readfd(handle->quit_pipe), LPOLLIN); if (ret < 0) { ERR("Failed to add quit pipe read fd to poll set"); goto error; @@ -266,7 +265,7 @@ int init_poll_set(struct lttng_poll_event *poll_set, ret = lttng_poll_add(poll_set, lttng_pipe_get_readfd(handle->rotation_timer_queue->event_pipe), - LPOLLIN | LPOLLERR); + LPOLLIN); if (ret < 0) { ERR("Failed to add rotate_pending fd to poll set"); goto error; @@ -310,7 +309,7 @@ int init_thread_state(struct rotation_thread_handle *handle, goto end; } ret = lttng_poll_add(&state->events, rotate_notification_channel->socket, - LPOLLIN | LPOLLERR); + LPOLLIN); if (ret < 0) { ERR("Failed to add notification fd to pollset"); goto end;