X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Fcommands%2Fdestroy.c;h=3fd3eb0247e288aef4782263f6233d68dcc03b98;hp=9519403ad1c68e26a85a913e7714dd536a2f20fc;hb=58a97671d5fa65f93126798ded9e5306e3555186;hpb=f3ed775ef4842019b396f06095b053c3a70bc3c8 diff --git a/lttng/commands/destroy.c b/lttng/commands/destroy.c index 9519403ad..3fd3eb024 100644 --- a/lttng/commands/destroy.c +++ b/lttng/commands/destroy.c @@ -26,7 +26,7 @@ #include #include "cmd.h" -#include "config.h" +#include "conf.h" #include "utils.h" static char *opt_session_name; @@ -81,7 +81,7 @@ static int destroy_session() goto free_name; } - path = get_config_file_path(); + path = config_get_default_path(); if (path == NULL) { ret = CMD_FATAL; goto free_name;