X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fht-cleanup.c;h=beb4e89dc8e71eff082cef0350a87e5f98eb14b0;hb=d542c0aefc94e5c5805e6158b03c9e82e53b5fd1;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..beb4e89dc 100644 --- a/src/bin/lttng-sessiond/ht-cleanup.c +++ b/src/bin/lttng-sessiond/ht-cleanup.c @@ -239,7 +239,8 @@ int init_ht_cleanup_thread(pthread_t *thread) 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");