Fix: Add missing fork test program dependency library
[lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index 2f2c783b189966d19181ae98bec17a020152c002..099a6c85f1959ddc98e1cde72059f64d5cecaa42 100644 (file)
@@ -391,7 +391,7 @@ void cleanup_sock_info(struct sock_info *sock_info, int exiting)
        int ret;
 
        if (sock_info->socket != -1) {
-               ret = close(sock_info->socket);
+               ret = ustcomm_close_unix_sock(sock_info->socket);
                if (ret) {
                        ERR("Error closing apps socket");
                }
@@ -671,7 +671,7 @@ restart:
        }
 
        if (sock_info->socket != -1) {
-               ret = close(sock_info->socket);
+               ret = ustcomm_close_unix_sock(sock_info->socket);
                if (ret) {
                        ERR("Error closing %s apps socket", sock_info->name);
                }
@@ -835,6 +835,7 @@ void __attribute__((constructor)) lttng_ust_init(void)
         */
        lttng_fixup_event_tls();
        lttng_fixup_ringbuffer_tls();
+       lttng_fixup_vtid_tls();
 
        /*
         * We want precise control over the order in which we construct
This page took 0.024232 seconds and 4 git commands to generate.