X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lttng%2Flttng.c;h=f568933650407693be890e636843effa77af0299;hb=5a0de755194ead74599123e9076b5c5fa97a5cb0;hp=455b18c58108963ef725a35037418d3ffbf0d338;hpb=82a3637f639486c07ff937ab03e1e9532379d26a;p=lttng-tools.git 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;