X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Futils.c;h=514bfe645a40363cb4cd6526b1c09c8e13d025b2;hb=f11e84c2c33f6e2f4da8436012bcc61b3291b0d7;hp=635bf7734d244a0694135c5ac3b827644d72d9a8;hpb=679b4943c3b0f451e7f4fbcd804dd8a7a679e253;p=lttng-tools.git diff --git a/src/bin/lttng/utils.c b/src/bin/lttng/utils.c index 635bf7734..514bfe645 100644 --- a/src/bin/lttng/utils.c +++ b/src/bin/lttng/utils.c @@ -16,6 +16,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#define _GNU_SOURCE #include #include @@ -46,9 +47,12 @@ char *get_session_name(void) goto error; } -error: + DBG2("Config file path found: %s", path); DBG("Session name found: %s", session_name); return session_name; + +error: + return NULL; }