Close stream and channel file descriptors as soon as passed to sessiond
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index 656aeac51e44720f12f2406de382758e9bb8afb0..f7e13a1a06e8618823899e8a49286278d8f4ce5a 100644 (file)
@@ -600,8 +600,8 @@ struct lttng_ust_lib_ring_buffer *ustctl_open_stream_read(struct lttng_ust_shm_h
        int cpu)
 {
        struct channel *chan = handle->shadow_chan;
-       int shm_fd, wait_fd;
-       uint64_t memory_map_size;
+       int *shm_fd, *wait_fd;
+       uint64_t *memory_map_size;
        struct lttng_ust_lib_ring_buffer *buf;
        int ret;
 
This page took 0.02332 seconds and 4 git commands to generate.