From 7b0d7a976e7fee51d448b8004f4560efdec307a6 Mon Sep 17 00:00:00 2001 From: Sylvain Defresne Date: Fri, 8 Jan 2016 09:34:27 +0100 Subject: 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 . --- src/client/linux/minidump_writer/minidump_writer.cc | 4 ++-- 1 file 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; -- cgit v1.2.1