Fixup a bad strcmp call landed in previous commit
This commit is contained in:
parent
8079ae192d
commit
3520fc314b
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue