diff options
Diffstat (limited to 'py/warning.c')
-rw-r--r-- | py/warning.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py/warning.c b/py/warning.c index 469c19cea7..eae145bd3f 100644 --- a/py/warning.c +++ b/py/warning.c @@ -35,9 +35,9 @@ void mp_warning(const char *msg, ...) { va_list args; va_start(args, msg); - printf("Warning: "); - vprintf(msg, args); - printf("\n"); + mp_print_str(&mp_plat_print, "Warning: "); + mp_vprintf(&mp_plat_print, msg, args); + mp_print_str(&mp_plat_print, "\n"); } void mp_emitter_warning(pass_kind_t pass, const char *msg) { |