summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapset/logging.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/logging.stp b/tapset/logging.stp
index 44c05009..a8ce95c4 100644
--- a/tapset/logging.stp
+++ b/tapset/logging.stp
@@ -15,7 +15,7 @@
* Same as println() with a single string argument.
*/
function log (msg:string) %{ /* unprivileged */
- _stp_print (THIS->msg);
+ _stp_printf ("%s\n", THIS->msg);
%}