Fix: Copy-pasted PERROR messages may be misleading
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 14 May 2014 15:32:10 +0000 (11:32 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 14 May 2014 15:33:11 +0000 (11:33 -0400)
Some PERRORs in lttng-sessiond's pthread_create's error handling
code indicate the wrong thread name which may be misleading
during debugging.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c

index 0a2f3f48fa27e08ca7881a903ef44f4dd10fcd2a..eb772fe593273f968e422b5aabeae8b686cf3e97 100644 (file)
@@ -5193,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;
        }
 
@@ -5201,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;
        }
 
This page took 0.027072 seconds and 4 git commands to generate.