X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fappdomain.c;h=e600fa57a80d36d35739cb345cd36df2f4f1b6e0;hb=a476d44787d5a8d2740ffe3b819ac1fce4491fb8;hp=20e4521e7b6df8e4fe084c594a4d8da85277af30;hpb=9869ae24b88761ab261c4311e24f7383b4af3f02;p=mono.git diff --git a/mono/metadata/appdomain.c b/mono/metadata/appdomain.c index 20e4521e7b6..e600fa57a80 100644 --- a/mono/metadata/appdomain.c +++ b/mono/metadata/appdomain.c @@ -984,7 +984,7 @@ ves_icall_System_Reflection_Assembly_LoadFrom (MonoString *fname, MonoBoolean re MonoException *exc; if (status == MONO_IMAGE_IMAGE_INVALID) - exc = mono_get_exception_bad_image_format (name); + exc = mono_get_exception_bad_image_format2 (NULL, fname); else exc = mono_get_exception_file_not_found2 (NULL, fname); g_free (name);