X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fhealth-relayd.cpp;h=d43c371856b9fdc45e3dd9ccb9287eef4b614f57;hb=f46376a14da2eb796690cb4e718e8b213839d6ea;hp=2e532bde4eec832b13895372ddb2b314b7fae180;hpb=ac497a37018f3c253d2e50397294f58d33f7f24f;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/health-relayd.cpp b/src/bin/lttng-relayd/health-relayd.cpp index 2e532bde4..d43c37185 100644 --- a/src/bin/lttng-relayd/health-relayd.cpp +++ b/src/bin/lttng-relayd/health-relayd.cpp @@ -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 __attribute__((unused))) { int sock = -1, new_sock = -1, ret, i, pollfd, err = -1; uint32_t revents, nb_fd;