diff options
author | Sylvain Defresne <sdefresne@chromium.org> | 2016-01-08 09:34:27 +0100 |
---|---|---|
committer | Sylvain Defresne <sdefresne@chromium.org> | 2016-01-08 09:34:27 +0100 |
commit | 7b0d7a976e7fee51d448b8004f4560efdec307a6 (patch) | |
tree | 75a49c7718fe8c6399126689c7f6f1fdecbd4062 /src/client/linux/minidump_writer | |
parent | Check for C++11 support in the configure script. (diff) | |
download | breakpad-7b0d7a976e7fee51d448b8004f4560efdec307a6.tar.xz |
Fix compilation of breakpad on Linux.
Fix some copy/paste errors from commit 41440eaa.
BUG=None
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1564293002 .
Diffstat (limited to 'src/client/linux/minidump_writer')
-rw-r--r-- | src/client/linux/minidump_writer/minidump_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc index e9ab3dbc..0eed74de 100644 --- a/src/client/linux/minidump_writer/minidump_writer.cc +++ b/src/client/linux/minidump_writer/minidump_writer.cc @@ -1004,7 +1004,7 @@ class MinidumpWriter { new(allocator) ProcCpuInfoReader(fd); const char* field; while (reader->GetNextField(&field)) { - for (const CpuInfoEntry& entry : cpu_info_table) { + for (const CpuIdEntry& entry : cpu_id_entries) { if (my_strcmp(entry.field, field) != 0) continue; uintptr_t result = 0; @@ -1083,7 +1083,7 @@ class MinidumpWriter { tag_len = strlen(tag); value_len = 0; } - for (const CpuInfoEntry& entry : cpu_features_entries) { + for (const CpuFeaturesEntry& entry : cpu_features_entries) { if (tag_len == strlen(entry.tag) && !memcmp(tag, entry.tag, tag_len)) { sys_info->cpu.arm_cpu_info.elf_hwcaps |= entry.hwcaps; |