Merge pull request #1634 from StephenMcConnel/bug-28025
[mono.git] / mono / profiler / mono-profiler-iomap.c
index cd5c8ce026d8ac93ed9f995fcf024d535b8dc25a..bc0dd2c1b65cc1ad70d71a62ae54332c18750afa 100644 (file)
@@ -532,7 +532,7 @@ void mono_profiler_startup (const char *desc)
 {
        MonoProfiler *prof = g_new0 (MonoProfiler, 1);
 
-       mono_mutex_init (&mismatched_files_section, NULL);
+       mono_mutex_init (&mismatched_files_section);
        prof->mismatched_files_hash = g_hash_table_new (mismatched_files_guint32_hash, mismatched_files_guint32_equal);
        prof->saved_strings_hash = g_hash_table_new (NULL, NULL);
        prof->string_locations_hash = g_hash_table_new (mismatched_files_guint32_hash, mismatched_files_guint32_equal);