X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconfig%2Fsession-config.c;h=40019514bdb27021d63fb1ad563c2e3abe43c7e8;hp=8e5410c3f3b7971016e5f6e130f319703c8e997a;hb=4f00620d66e81d89a546b29a774dad49d38983b3;hpb=a620c891bde6720d24c9c391fdcbc070d319d04c diff --git a/src/common/config/session-config.c b/src/common/config/session-config.c index 8e5410c3f..40019514b 100644 --- a/src/common/config/session-config.c +++ b/src/common/config/session-config.c @@ -250,7 +250,7 @@ int config_get_section_entries(const char *override_path, const char *section, config_entry_handler_cb handler, void *user_data) { int ret = 0; - char *path; + const char *path; FILE *config_file = NULL; struct handler_filter_args filter = { section, handler, user_data }; @@ -3532,7 +3532,7 @@ int config_load_session(const char *path, const char *session_name, } if (!path) { - char *home_path; + const char *home_path; const char *sys_path; /* Try home path */