configure: add '-Wredundant-decls' to warning flags
[lttng-tools.git] / src / bin / lttng-relayd / health-relayd.cpp
index 2e532bde4eec832b13895372ddb2b314b7fae180..b832ffe0e5e81c8c09e794f53f015dd8342228b3 100644 (file)
@@ -114,7 +114,7 @@ static int create_lttng_rundir_with_perm(const char *rundir)
                        ret = chmod(rundir,
                                        S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
                        if (ret < 0) {
-                               ERR("Unable to set permissions on %s", health_unix_sock_path);
+                               ERR("Unable to set permissions on %s", rundir);
                                PERROR("chmod");
                                ret = -1;
                                goto error;
@@ -259,7 +259,7 @@ end:
 /*
  * Thread managing health check socket.
  */
-void *thread_manage_health(void *data)
+void *thread_manage_health_relayd(void *data)
 {
        int sock = -1, new_sock = -1, ret, i, pollfd, err = -1;
        uint32_t revents, nb_fd;
This page took 0.023439 seconds and 4 git commands to generate.