X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Flttng-elf.c;h=bef20ffd4bd52eceb7fec353f885e22e6e9db6d8;hp=816dd0d7621a15a3dc6b2f073c2acc9a583fa02a;hb=1831ae68b70dece8e9b847081526495adbbf05e5;hpb=25357057de5ae4dd2a572e8f9b893c1b90cbd60a diff --git a/src/common/lttng-elf.c b/src/common/lttng-elf.c index 816dd0d76..bef20ffd4 100644 --- a/src/common/lttng-elf.c +++ b/src/common/lttng-elf.c @@ -750,7 +750,7 @@ int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset) char *curr_sym_str = NULL; char *symbol_table_data = NULL; char *string_table_data = NULL; - char *string_table_name = NULL; + const char *string_table_name = NULL; struct lttng_elf_shdr symtab_hdr; struct lttng_elf_shdr strtab_hdr; struct lttng_elf *elf = NULL;