X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fht-cleanup.c;h=a3b046b8834a2eaaa7dd74b9bb0bb0beb6cff806;hb=4149ace8fa7c7a8da39272f03923df46039c5ff6;hp=08bd27286763835b499088896d4884301a35f26f;hpb=5e97de0089e5a91e4dd8bae5aa7e1956597c508b;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ht-cleanup.c b/src/bin/lttng-sessiond/ht-cleanup.c index 08bd27286..a3b046b88 100644 --- a/src/bin/lttng-sessiond/ht-cleanup.c +++ b/src/bin/lttng-sessiond/ht-cleanup.c @@ -234,12 +234,13 @@ int init_ht_cleanup_thread(pthread_t *thread) goto error; } - init_pipe(ht_cleanup_quit_pipe); + ret = init_pipe(ht_cleanup_quit_pipe); if (ret) { goto error_quit_pipe; } - ret = pthread_create(thread, NULL, thread_ht_cleanup, NULL); + ret = pthread_create(thread, default_pthread_attr(), thread_ht_cleanup, + NULL); if (ret) { errno = ret; PERROR("pthread_create ht_cleanup");