Fix array size in kconsumer add stream
[lttng-tools.git] / liblttng-kconsumer / lttng-kconsumer.c
index c4ebb013e315cbbd8fe554bcb042dda348af88f4..40745178134ab89b4db597ad1ed4ef45e8151dff 100644 (file)
@@ -236,7 +236,7 @@ int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
        case LTTNG_CONSUMER_ADD_STREAM:
        {
                struct lttng_consumer_stream *new_stream;
-               int fds[1];
+               int fds[2];
                size_t nb_fd = 1;
 
                /* block */
This page took 0.031083 seconds and 4 git commands to generate.