projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: bad file descriptor on close in health check
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
create.c
diff --git
a/src/bin/lttng/commands/create.c
b/src/bin/lttng/commands/create.c
index f89e2778c78d8a3dd0bc97a5e95210389d68c2c5..354a68dcfbc461ab09ff86cb64f672b3bc8f0ae8 100644
(file)
--- a/
src/bin/lttng/commands/create.c
+++ b/
src/bin/lttng/commands/create.c
@@
-31,6
+31,7
@@
#include <common/defaults.h>
#include <common/sessiond-comm/sessiond-comm.h>
#include <common/uri.h>
#include <common/defaults.h>
#include <common/sessiond-comm/sessiond-comm.h>
#include <common/uri.h>
+#include <common/utils.h>
static char *opt_output_path;
static char *opt_session_name;
static char *opt_output_path;
static char *opt_session_name;
@@
-177,7
+178,7
@@
static int create_session()
}
if (opt_output_path != NULL) {
}
if (opt_output_path != NULL) {
- traces_path =
expand_full
_path(opt_output_path);
+ traces_path =
utils_expand
_path(opt_output_path);
if (traces_path == NULL) {
ret = CMD_ERROR;
goto error;
if (traces_path == NULL) {
ret = CMD_ERROR;
goto error;
This page took
0.024405 seconds
and
4
git commands to generate.