From f37b5c92191dd81aad57ade2899a4999099a3e35 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 2 Jun 2005 15:39:06 +0000 Subject: 2005-06-02 Martin Hunt * string.c (_stp_string_cat_cstr): Be sure result is always terminated. * print.c (_stp_vprintf): Fix typo. --- runtime/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/print.c') 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. -- cgit