summaryrefslogtreecommitdiffstats
path: root/runtime/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/print.c')
-rw-r--r--runtime/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/print.c b/runtime/print.c
index e9847ef8..e7e97d27 100644
--- a/runtime/print.c
+++ b/runtime/print.c
@@ -102,7 +102,7 @@ void _stp_print_flush (void)
* You probably want _stp_printf().
*/
-#define _stp_vprintf(fmt,args) _stp_vsprintf(stdout,fmt,args)
+#define _stp_vprintf(fmt,args) _stp_vsprintf(_stp_stdout,fmt,args)
/** Write a C string into the print buffer.
* Copies a string into a print buffer.