aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Defresne <sdefresne@chromium.org>2016-01-08 09:34:27 +0100
committerSylvain Defresne <sdefresne@chromium.org>2016-01-08 09:34:27 +0100
commit7b0d7a976e7fee51d448b8004f4560efdec307a6 (patch)
tree75a49c7718fe8c6399126689c7f6f1fdecbd4062
parentCheck for C++11 support in the configure script. (diff)
downloadbreakpad-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 .
-rw-r--r--src/client/linux/minidump_writer/minidump_writer.cc4
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;