Skip to content

Commit

Permalink
[profiler] Fix printf bug -- char* vs. MonoString* (mono/mono#15602)
Browse files Browse the repository at this point in the history
Gcc warned.

Commit migrated from mono/mono@5a0bc3c
jaykrell authored and akoeplinger committed Jul 9, 2019
1 parent 367f308 commit 13f64d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/profiler/aot.c
Original file line number Diff line number Diff line change
@@ -699,7 +699,7 @@ prof_save (MonoProfiler *prof, FILE* file)
args [1] = &len;
args [2] = extra_arg;

printf ("aot-profiler | Passing data to '%s': %p %d %s\n", mono_method_full_name (send_method, 1), args [0], len, extra_arg);
printf ("aot-profiler | Passing data to '%s': %p %d %s\n", mono_method_full_name (send_method, 1), args [0], len, prof->send_to_arg ? prof->send_to_arg : "(null)");
mono_runtime_try_invoke (send_method, NULL, args, &exc, error);
mono_error_assert_ok (error);
g_assert (exc == NULL);

0 comments on commit 13f64d0

Please sign in to comment.