projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng-elf: wrong error label used by error path
[lttng-tools.git]
/
src
/
common
/
lttng-elf.c
diff --git
a/src/common/lttng-elf.c
b/src/common/lttng-elf.c
index 6523579fbec8582b768cc501972828c496347054..807d785cedca27e5b4058193e203bf410a87a349 100644
(file)
--- a/
src/common/lttng-elf.c
+++ b/
src/common/lttng-elf.c
@@
-826,7
+826,7
@@
int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset)
if (symtab_hdr.sh_entsize == 0) {
DBG("Invalid ELF string table entry size.");
ret = LTTNG_ERR_ELF_PARSING;
if (symtab_hdr.sh_entsize == 0) {
DBG("Invalid ELF string table entry size.");
ret = LTTNG_ERR_ELF_PARSING;
- goto free_s
ymbol
_table_data;
+ goto free_s
tring
_table_data;
}
sym_count = symtab_hdr.sh_size / symtab_hdr.sh_entsize;
}
sym_count = symtab_hdr.sh_size / symtab_hdr.sh_entsize;
This page took
0.023205 seconds
and
4
git commands to generate.