X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fht-cleanup.c;h=beb4e89dc8e71eff082cef0350a87e5f98eb14b0;hp=08bd27286763835b499088896d4884301a35f26f;hb=1a1a34b40ab10a195633b1ed5e2e9b42fdae0a78;hpb=0452bf084c6d8416b88c2bb941e99eb4eec453b8 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");