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=81b8677518a0a8836d0b17e5c2a7fb43382a44c1;hpb=478510441d784434ce1d16af9f4f7c10269b78dd 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;