Merge branch 'master' of git://git.lttng.org/lttng-tools
[lttng-tools.git] / src / bin / lttng / utils.c
index 635bf7734d244a0694135c5ac3b827644d72d9a8..514bfe645a40363cb4cd6526b1c09c8e13d025b2 100644 (file)
@@ -16,6 +16,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#define _GNU_SOURCE
 #include <stdlib.h>
 #include <ctype.h>
 
@@ -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;
 }
 
 
This page took 0.027623 seconds and 4 git commands to generate.