X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng%2Flttng.c;h=3e5f1b187f238049bc8c81a01fafbd161083888f;hb=63371d1e4ff3148287a04e14b468c4234e3d0182;hp=455b18c58108963ef725a35037418d3ffbf0d338;hpb=82a3637f639486c07ff937ab03e1e9532379d26a;p=lttng-tools.git diff --git a/lttng/lttng.c b/lttng/lttng.c index 455b18c58..3e5f1b187 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_BIN_PATH "/ltt-sessiond"); if (ret < 0) { + perror("asprintf spawn sessiond"); goto end; } pathname = alloc_pathname;