X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fmain.c;h=eb772fe593273f968e422b5aabeae8b686cf3e97;hb=ab57d7d35916e90d36429ed717d58610c9005d14;hp=3a8a1b27cf5e403389ba0b962ac775ec1040e158;hpb=ef367a93d16bb6f1a32e50e3538a56d4f18fe715;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 3a8a1b27c..eb772fe59 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -4258,6 +4258,9 @@ static int set_option(int opt, const char *arg, const char *optname) ret = -ENOMEM; } break; + case 'f': + /* This is handled in set_options() thus silent break. */ + break; default: /* Unknown option or other error. * Error is printed by getopt, just return */ @@ -5190,7 +5193,7 @@ int main(int argc, char **argv) ret = pthread_create(&apps_notify_thread, NULL, ust_thread_manage_notify, (void *) NULL); if (ret != 0) { - PERROR("pthread_create apps"); + PERROR("pthread_create notify"); goto exit_apps_notify; } @@ -5198,7 +5201,7 @@ int main(int argc, char **argv) ret = pthread_create(&jul_reg_thread, NULL, jul_thread_manage_registration, (void *) NULL); if (ret != 0) { - PERROR("pthread_create apps"); + PERROR("pthread_create JUL"); goto exit_jul_reg; }