X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fhealth-relayd.cpp;h=265c70d2e5ff0008aeb07073dbc71949d6185a03;hb=ce7fc42f24c2c9a62a5eeb77f248d27a5cb4de4b;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..265c70d2e 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;