Change consumer_metadata_pipe to be a lttng_pipe
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.c
index 8bc69006b0e1f30744ea41524e95d7ed1af3de0b..3731cbb26b527c4deb1621de5bf3f84051007a20 100644 (file)
@@ -189,7 +189,7 @@ static int send_stream_to_thread(struct lttng_consumer_stream *stream,
 
        /* Get the right pipe where the stream will be sent. */
        if (stream->metadata_flag) {
-               stream_pipe = ctx->consumer_metadata_pipe[1];
+               stream_pipe = lttng_pipe_get_writefd(ctx->consumer_metadata_pipe);
        } else {
                stream_pipe = lttng_pipe_get_writefd(ctx->consumer_data_pipe);
        }
This page took 0.024085 seconds and 5 git commands to generate.