X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fcreate.c;h=354a68dcfbc461ab09ff86cb64f672b3bc8f0ae8;hp=f89e2778c78d8a3dd0bc97a5e95210389d68c2c5;hb=eb4a2943f0cf59f2f33627c4fa6ed79300119328;hpb=00e2e675d54dc726a7c8f8887c889cc8ef022003 diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index f89e2778c..354a68dcf 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -31,6 +31,7 @@ #include #include #include +#include static char *opt_output_path; static char *opt_session_name; @@ -177,7 +178,7 @@ static int create_session() } 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;