Cleanup: remove ignored flags from poll events bitmasks
[lttng-tools.git] / src / lib / lttng-ctl / destruction-handle.cpp
index 3882a587e830e12e61926b38c852ff7d08b9fb8d..688e4faba652dd023d47f9ff131fab9ee8b8e3f6 100644 (file)
@@ -82,7 +82,7 @@ struct lttng_destruction_handle *lttng_destruction_handle_create(
        }
 
        ret = lttng_poll_add(&handle->communication.events, sessiond_socket,
-                       LPOLLIN | LPOLLHUP | LPOLLRDHUP | LPOLLERR);
+                       LPOLLIN | LPOLLRDHUP);
        if (ret) {
                goto error;
        }
@@ -390,7 +390,7 @@ enum lttng_error_code lttng_destroy_session_ext(const char *session_name,
        ssize_t comm_ret;
        enum lttng_error_code ret_code = LTTNG_OK;
        struct lttcomm_session_msg lsm = {
-               .cmd_type = LTTNG_DESTROY_SESSION,
+               .cmd_type = LTTCOMM_SESSIOND_COMMAND_DESTROY_SESSION,
                .session = {},
                .domain = {},
                .u = {},
This page took 0.023232 seconds and 4 git commands to generate.