Rename C++ header files to .hpp
[lttng-tools.git] / src / common / lttng-elf.cpp
index 711447203169c4d2427ce05e669f19795d3275a1..47d66936f9b9356c772da348f71ef849850e5dd9 100644 (file)
@@ -8,11 +8,11 @@
  */
 
 #include <algorithm>
-#include <common/compat/endian.h>
-#include <common/error.h>
-#include <common/lttng-elf.h>
-#include <common/macros.h>
-#include <common/readwrite.h>
+#include <common/compat/endian.hpp>
+#include <common/error.hpp>
+#include <common/lttng-elf.hpp>
+#include <common/macros.hpp>
+#include <common/readwrite.hpp>
 #include <fcntl.h>
 #include <stdbool.h>
 #include <stdint.h>
@@ -827,7 +827,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;
-               goto free_symbol_table_data;
+               goto free_string_table_data;
        }
 
        sym_count = symtab_hdr.sh_size / symtab_hdr.sh_entsize;
This page took 0.024314 seconds and 4 git commands to generate.