From 9d36f30e825135d8fbb3ba6cb31ab10aa938b135 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 25 Mar 2012 19:52:07 -0400 Subject: [PATCH] Remove inappropriate \n from easy-ust sample Although \n is permitted in strings, it adds newlines in the trace pretty-printer output, which is not that nice. Signed-off-by: Mathieu Desnoyers --- doc/examples/easy-ust/sample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/easy-ust/sample.c b/doc/examples/easy-ust/sample.c index 6b5ee630..ddc4de69 100644 --- a/doc/examples/easy-ust/sample.c +++ b/doc/examples/easy-ust/sample.c @@ -27,7 +27,7 @@ int main(int argc, char **argv) int i = 0; for (i = 0; i < 100000; i++) { - tracepoint(sample_component, message, "Hello World\n"); + tracepoint(sample_component, message, "Hello World"); usleep(1); } return 0; -- 2.34.1