From 0b5e63eb3779b41d122bbdd6a45a639aececd72b Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 17 Apr 2006 19:18:56 +0000 Subject: 2006-04-17 Martin Hunt * endian.stp (set_endian): New function. --- tapset/logging.stp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tapset/logging.stp') diff --git a/tapset/logging.stp b/tapset/logging.stp index a3fcac04..659ef389 100644 --- a/tapset/logging.stp +++ b/tapset/logging.stp @@ -6,9 +6,10 @@ // Public License (GPL); either version 2, or (at your option) any // later version. -// send a string out with a newline +// Write a message to the console (actually stderr). A newline is appended +// if the string does not end in one. function log (msg:string) %{ - _stp_printf ("%s\n", THIS->msg); + _stp_log (THIS->msg); %} function warn (msg:string) %{ -- cgit