[runtime] Fix typo in icall name (#4616)
authorAlexander Kyte <alexmkyte@gmail.com>
Thu, 30 Mar 2017 12:39:05 +0000 (08:39 -0400)
committerZoltan Varga <vargaz@gmail.com>
Thu, 30 Mar 2017 12:39:05 +0000 (08:39 -0400)
mono/metadata/icall-def.h
mono/metadata/icall.c

index 30643c8a760012c0e9abe68b0e832b9723f35e70..6611e02de6bf6a96a29b6ff242fd6392523675e6 100644 (file)
@@ -263,7 +263,7 @@ ICALL(ENUM_7, "get_value", ves_icall_System_Enum_get_value)
 
 ICALL_TYPE(ENV, "System.Environment", ENV_1)
 ICALL(ENV_1, "Exit", ves_icall_System_Environment_Exit)
-ICALL(ENV_2, "GetCommandLineArgs", ves_icall_System_Environment_GetCoomandLineArgs)
+ICALL(ENV_2, "GetCommandLineArgs", ves_icall_System_Environment_GetCommandLineArgs)
 ICALL(ENV_3, "GetEnvironmentVariableNames", ves_icall_System_Environment_GetEnvironmentVariableNames)
 ICALL(ENV_31, "GetIs64BitOperatingSystem", ves_icall_System_Environment_GetIs64BitOperatingSystem)
 ICALL(ENV_4, "GetLogicalDrivesInternal", ves_icall_System_Environment_GetLogicalDrives )
index 542dd85399dee7f6553102f9d9b72e547002e2bb..693c0f4135e8ca3fb83f738db147bd33392052d9 100644 (file)
@@ -6556,7 +6556,7 @@ char **environ;
 #endif
 
 ICALL_EXPORT MonoArray *
-ves_icall_System_Environment_GetCoomandLineArgs (void)
+ves_icall_System_Environment_GetCommandLineArgs (void)
 {
        MonoError error;
        MonoArray *result = mono_runtime_get_main_args_checked (&error);