aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/dump_symbols.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-11 20:16:17 +0000
committermark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-11 20:16:17 +0000
commit7de777ec2472c825113045715e9399b8d67a3bff (patch)
tree4e29f62fbd0ad7f81d1fe85f3a4559537951d781 /src/common/linux/dump_symbols.cc
parentMore fixes following r862. (diff)
downloadbreakpad-7de777ec2472c825113045715e9399b8d67a3bff.tar.xz
Minor formatting fix following r865.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@866 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/linux/dump_symbols.cc')
-rw-r--r--src/common/linux/dump_symbols.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc
index ed533b43..f02503ac 100644
--- a/src/common/linux/dump_symbols.cc
+++ b/src/common/linux/dump_symbols.cc
@@ -253,8 +253,8 @@ static bool LoadDwarf(const std::string &dwarf_filename,
const ElfW(Shdr) *section_names = sections + elf_header->e_shstrndx;
for (int i = 0; i < num_sections; i++) {
const ElfW(Shdr) *section = &sections[i];
- std::string name = reinterpret_cast<const char *>(section_names->sh_offset
- + section->sh_name);
+ std::string name = reinterpret_cast<const char *>(section_names->sh_offset +
+ section->sh_name);
const char *contents = reinterpret_cast<const char *>(section->sh_offset);
uint64 length = section->sh_size;
file_context.section_map[name] = std::make_pair(contents, length);