aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorTed Mielczarek <ted@mielczarek.org>2015-09-16 19:25:35 -0400
committerTed Mielczarek <ted@mielczarek.org>2015-09-16 19:25:35 -0400
commit3520fc314bd09b18f335b49f412d28f46264a762 (patch)
tree2f302887d013fbb86701bb56fc0a8bd7dd3cf0fe /src/common
parentFix Mac Breakpad host tools to build in Linux cross-compile (diff)
downloadbreakpad-3520fc314bd09b18f335b49f412d28f46264a762.tar.xz
Fixup a bad strcmp call landed in previous commit
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mac/arch_utilities.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mac/arch_utilities.cc b/src/common/mac/arch_utilities.cc
index bfafc0d9..4e5f5534 100644
--- a/src/common/mac/arch_utilities.cc
+++ b/src/common/mac/arch_utilities.cc
@@ -180,7 +180,7 @@ const NXArchInfo *NXGetLocalArchInfo(void) {
const NXArchInfo *NXGetArchInfoFromName(const char *name) {
for (int arch = 0; arch < kNumArchitectures; ++arch) {
- if (strcmp(name, kKnownArchitectures[arch].name)) {
+ if (!strcmp(name, kKnownArchitectures[arch].name)) {
return &kKnownArchitectures[arch];
}
}