From 83d724fb70108a80fd8b2f2685e6d5709e6e43ba Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 3 Sep 2019 09:54:39 +0300 Subject: [PATCH] print_backtrace: do not use printf directly --- vlib/builtin/builtin.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/builtin.v b/vlib/builtin/builtin.v index 7c02cf973c..39061bd8b1 100644 --- a/vlib/builtin/builtin.v +++ b/vlib/builtin/builtin.v @@ -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: