[threads] Remove mono_threads_create_thread (#4411)
[mono.git] / mono / utils / mono-rand-windows.c
index 97f57cee4ee331024d2088ed9b5b04c53ac151f6..4ac99a8468512c38eefdc5ae76104f0e015f4ad0 100644 (file)
@@ -127,7 +127,7 @@ mono_rand_try_get_bytes (gpointer *handle, guchar *buffer, gint buffer_size, Mon
 {
        MONO_WIN32_CRYPT_PROVIDER_HANDLE provider;
 
-       mono_error_init (error);
+       error_init (error);
 
        g_assert (handle);
        provider = (MONO_WIN32_CRYPT_PROVIDER_HANDLE) *handle;