X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Flttng.c;fp=lttng%2Flttng.c;h=f568933650407693be890e636843effa77af0299;hp=455b18c58108963ef725a35037418d3ffbf0d338;hb=3f5fa9ed7f1b26c152c7702a81ef77a40a2f1372;hpb=f40799e8d49a5e8161084fa98023f3e571b51962 diff --git a/lttng/lttng.c b/lttng/lttng.c index 455b18c58..f56893365 100644 --- a/lttng/lttng.c +++ b/lttng/lttng.c @@ -336,8 +336,9 @@ static int check_sessiond(void) /* Let's rock and roll */ if (pathname == NULL) { - ret = asprintf(&alloc_pathname, "ltt-sessiond"); + ret = asprintf(&alloc_pathname, INSTALL_PATH "/ltt-sessiond"); if (ret < 0) { + perror("asprintf spawn sessiond"); goto end; } pathname = alloc_pathname;