projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: client: leak of trigger object on invalid client message
[lttng-tools.git]
/
src
/
bin
/
lttng
/
conf.c
diff --git
a/src/bin/lttng/conf.c
b/src/bin/lttng/conf.c
index 9e1773bb4b90aa39da30a6a0b3fb2de865ea6a5d..4079d6ed9421273680d102d4bc9cf9353534dfb6 100644
(file)
--- a/
src/bin/lttng/conf.c
+++ b/
src/bin/lttng/conf.c
@@
-13,8
+13,8
@@
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
-#include <errno.h>
+#include <common/compat/errno.h>
#include <common/common.h>
#include <common/utils.h>
#include <common/common.h>
#include <common/utils.h>
@@
-266,7
+266,7
@@
char *config_read_session_name_quiet(const char *path)
int config_add_session_name(const char *path, const char *name)
{
int ret;
int config_add_session_name(const char *path, const char *name)
{
int ret;
- char *attr = "session=";
+ c
onst c
har *attr = "session=";
/* Max name len accepted plus attribute's len and the NULL byte. */
char session_name[NAME_MAX + strlen(attr) + 1];
/* Max name len accepted plus attribute's len and the NULL byte. */
char session_name[NAME_MAX + strlen(attr) + 1];
This page took
0.023735 seconds
and
4
git commands to generate.