print backtrace to stderr

This commit is contained in:
Yuichi Nishiwaki 2014-09-19 17:11:59 +09:00
parent 3aa3669723
commit c425815313
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}