X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Futils.c;h=6041655ddda0f6eb42de5b829cb29688c11f1a24;hp=94c4527d97ff293029f99dbdca79e3cbf6956caa;hb=feb0f3e5900ff58202ea0c3f227de3c1b8291952;hpb=0c7bcad5eaa11b368460759fc87f949e8c56b98f diff --git a/src/bin/lttng/utils.c b/src/bin/lttng/utils.c index 94c4527d9..6041655dd 100644 --- a/src/bin/lttng/utils.c +++ b/src/bin/lttng/utils.c @@ -21,6 +21,7 @@ #include #include +#include #include "conf.h" #include "utils.h" @@ -36,7 +37,7 @@ char *get_session_name(void) char *path, *session_name = NULL; /* Get path to config file */ - path = config_get_default_path(); + path = utils_get_home_dir(); if (path == NULL) { goto error; }