1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

print_backtrace: do not use printf directly

This commit is contained in:
Vitaly Takmazov 2019-09-03 09:54:39 +03:00 committed by Alexander Medvednikov
parent d681e1cae3
commit 83d724fb70

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: