projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix missing _GNU_SOURCE define
[lttng-tools.git]
/
src
/
bin
/
lttng
/
utils.c
diff --git
a/src/bin/lttng/utils.c
b/src/bin/lttng/utils.c
index 635bf7734d244a0694135c5ac3b827644d72d9a8..514bfe645a40363cb4cd6526b1c09c8e13d025b2 100644
(file)
--- 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.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _GNU_SOURCE
#include <stdlib.h>
#include <ctype.h>
#include <stdlib.h>
#include <ctype.h>
@@
-46,9
+47,12
@@
char *get_session_name(void)
goto error;
}
goto error;
}
-error:
+ DBG2("Config file path found: %s", path);
DBG("Session name found: %s", session_name);
return session_name;
DBG("Session name found: %s", session_name);
return session_name;
+
+error:
+ return NULL;
}
}
This page took
0.024716 seconds
and
4
git commands to generate.