From: Jérémie Galarneau Date: Fri, 23 Jul 2021 20:56:53 +0000 (-0400) Subject: Fix: relayd: erroneous rundir permission logging message X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=0360bb60030c805145e41e1bb59baf162176dbac Fix: relayd: erroneous rundir permission logging message Signed-off-by: Jérémie Galarneau Change-Id: I2eb0901896feab684d397aa43f8c9036018d9c95 --- diff --git a/src/bin/lttng-relayd/health-relayd.c b/src/bin/lttng-relayd/health-relayd.c index 3ffb9b759..35ca5f8ca 100644 --- a/src/bin/lttng-relayd/health-relayd.c +++ b/src/bin/lttng-relayd/health-relayd.c @@ -115,7 +115,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;