print_backtrace: do not use printf directly

pull/1831/head
Vitaly Takmazov 2019-09-03 09:54:39 +03:00 committed by Alexander Medvednikov
parent d681e1cae3
commit 83d724fb70
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ pub fn print_backtrace_skipping_top_frames(skipframes int) {
C.printf('Some libc implementations like musl simply do not provide it.\n')
}
}
C.printf('print_backtrace_skipping_top_frames is not implemented on this platform for now...\n')
println('print_backtrace_skipping_top_frames is not implemented on this platform for now...\n')
}
pub fn print_backtrace(){
// at the time of backtrace_symbols_fd call, the C stack would look something like this: