Close stream and channel file descriptors as soon as passed to sessiond
[lttng-ust.git] / tests / ust-basic-tracing / ust-basic-tracing.c
index d11b587bf1d2e5a7cd78bd15b849e4ca3e6bc014..da2852f893b41aaf47879bf0397a9693cc5e21e8 100644 (file)
@@ -203,8 +203,8 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
        struct channel *chan;
        struct lttng_ust_lib_ring_buffer *buf;
        int outfd, ret;
-       int shm_fd, wait_fd;
-       uint64_t memory_map_size;
+       int *shm_fd, *wait_fd;
+       uint64_t *memory_map_size;
 
        chan = shmp(handle, handle->chan);
 
This page took 0.024253 seconds and 4 git commands to generate.