projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix all -Wdiscarded-qualifiers warning instances
[lttng-tools.git]
/
src
/
bin
/
lttng
/
conf.c
diff --git
a/src/bin/lttng/conf.c
b/src/bin/lttng/conf.c
index 9e1773bb4b90aa39da30a6a0b3fb2de865ea6a5d..8e703b05841b0a7c19302d8a51f8635e97de6250 100644
(file)
--- a/
src/bin/lttng/conf.c
+++ b/
src/bin/lttng/conf.c
@@
-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.024394 seconds
and
4
git commands to generate.