X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fhealth-relayd.c;h=35ca5f8ca0bb48e986b88895ad02da6ffd157ae4;hb=83a43ee98053ceab97bfa76def2628765a824859;hp=3ffb9b75968c7586b28666409579a58774f36488;hpb=46a0fbd4b2e90d277decb32841dc5570833eb38c;p=lttng-tools.git 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;