projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use install path for exec()
[lttng-tools.git]
/
lttng
/
lttng.c
diff --git
a/lttng/lttng.c
b/lttng/lttng.c
index 455b18c58108963ef725a35037418d3ffbf0d338..f568933650407693be890e636843effa77af0299 100644
(file)
--- 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) {
/* 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) {
if (ret < 0) {
+ perror("asprintf spawn sessiond");
goto end;
}
pathname = alloc_pathname;
goto end;
}
pathname = alloc_pathname;
This page took
0.02358 seconds
and
4
git commands to generate.