summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-09-28 15:34:56 +0200
committerMark Wielaard <mjw@redhat.com>2009-09-28 15:34:56 +0200
commitd498530cec1fcf4b71b1b27a068206fda18f3188 (patch)
treecad1f142332d9ce7ab5cc305e5eccaf32f42b539
parent9e7566092211a4fce9304a769959210b3ae1b322 (diff)
downloadsystemtap-steved-d498530cec1fcf4b71b1b27a068206fda18f3188.tar.gz
systemtap-steved-d498530cec1fcf4b71b1b27a068206fda18f3188.tar.xz
systemtap-steved-d498530cec1fcf4b71b1b27a068206fda18f3188.zip
PR10700 Add newline after log() message.
* tapset/logging.stp (log): Use _stp_printf "%s\n".
-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);
%}