X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fht-cleanup.c;h=a3b046b8834a2eaaa7dd74b9bb0bb0beb6cff806;hp=08bd27286763835b499088896d4884301a35f26f;hb=92816cc33a1add3c8276839bd6335e17423577dd;hpb=5e97de0089e5a91e4dd8bae5aa7e1956597c508b 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");