diff --git a/debug.c b/debug.c index 3d7b92c6..bb9f711d 100644 --- a/debug.c +++ b/debug.c @@ -63,7 +63,7 @@ pic_print_backtrace(pic_state *pic) } /* print! */ - printf("%s", pic_str_cstr(trace)); + xfprintf(xstderr, "%s", pic_str_cstr(trace)); pic_gc_arena_restore(pic, ai); }