Index: runtime/bin/platform_macos.cc |
diff --git a/runtime/bin/platform_macos.cc b/runtime/bin/platform_macos.cc |
index a03e8b9951118d00e01958ecb7bf5501480c87c9..4dbdc7ce2a9c121f8d9bd4b1d0e887c0449269f7 100644 |
--- a/runtime/bin/platform_macos.cc |
+++ b/runtime/bin/platform_macos.cc |
@@ -148,8 +148,8 @@ static const char* GetPreferredLanguageName() { |
const char* Platform::LocaleName() { |
// First see if there is a preferred language. If not, return the |
// current locale name. |
- const char* preferred_langauge = GetPreferredLanguageName(); |
- return (preferred_langauge != NULL) ? preferred_langauge : GetLocaleName(); |
+ const char* preferred_language = GetPreferredLanguageName(); |
+ return (preferred_language != NULL) ? preferred_language : GetLocaleName(); |
} |