Clean-up: sessiond: cmd_enable_channel_internal
[lttng-tools.git] / src / bin / lttng-consumerd / lttng-consumerd.cpp
index 91617a11a061813b3ded9e40b3767f89dfa8a561..3ee13dcb52bd9396cf2b378104d270873290183f 100644 (file)
@@ -82,7 +82,8 @@ enum lttng_consumer_type lttng_consumer_get_type(void)
 /*
  * Signal handler for the daemon
  */
-static void sighandler(int sig, siginfo_t *siginfo, void *arg)
+static void sighandler(int sig, siginfo_t *siginfo,
+               void *arg __attribute__((unused)))
 {
        if (sig == SIGINT && sigintcount++ == 0) {
                DBG("ignoring first SIGINT");
@@ -502,7 +503,7 @@ int main(int argc, char **argv)
 
        /* Create thread to manage the client socket */
        ret = pthread_create(&health_thread, default_pthread_attr(),
-                       thread_manage_health, (void *) NULL);
+                       thread_manage_health_consumerd, (void *) NULL);
        if (ret) {
                errno = ret;
                PERROR("pthread_create health");
This page took 0.023634 seconds and 4 git commands to generate.