Fix all -Wdiscarded-qualifiers warning instances
[lttng-tools.git] / src / bin / lttng / conf.c
index 9e1773bb4b90aa39da30a6a0b3fb2de865ea6a5d..8e703b05841b0a7c19302d8a51f8635e97de6250 100644 (file)
@@ -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;
-       char *attr = "session=";
+       const char *attr = "session=";
        /* Max name len accepted plus attribute's len and the NULL byte. */
        char session_name[NAME_MAX + strlen(attr) + 1];
 
This page took 0.023077 seconds and 4 git commands to generate.