Fix g_assert_not_reached message regression. (mono/mono#17263)
authorJay Krell <jaykrell@microsoft.com>
Thu, 10 Oct 2019 08:26:14 +0000 (01:26 -0700)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 10 Oct 2019 08:26:14 +0000 (10:26 +0200)
Fix g_assert_not_reached message regression.

Commit migrated from https://github.com/mono/mono/commit/8c5581a6f2190cbfee3c223ef8ccaf84802de041

src/mono/mono/eglib/goutput.c

index 91bc9b1..58ac92e 100644 (file)
@@ -208,7 +208,7 @@ mono_assertion_message (const char *file, int line, const char *condition)
 void
 mono_assertion_message_unreachable (const char *file, int line)
 {
-       g_assertion_message ("* Assertion: should not be reached at %s:%d\n", __FILE__, __LINE__);
+       g_assertion_message ("* Assertion: should not be reached at %s:%d\n", file, line);
 }
 
 #if HOST_ANDROID