diff --git a/tcg/tcg.c b/tcg/tcg.c index 31962a9e58..a58802f23b 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -2033,9 +2033,9 @@ void tcg_dump_info(FILE *f, } } #else -void dump_tcg_info(FILE *f, +void tcg_dump_info(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)) { - cpu_fprintf("[TCG profiler not compiled]\n"); + cpu_fprintf(f, "[TCG profiler not compiled]\n"); } #endif