From 3520fc314bd09b18f335b49f412d28f46264a762 Mon Sep 17 00:00:00 2001 From: Ted Mielczarek Date: Wed, 16 Sep 2015 19:25:35 -0400 Subject: [PATCH] Fixup a bad strcmp call landed in previous commit --- src/common/mac/arch_utilities.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } }