From: Mathieu Desnoyers Date: Sun, 25 Mar 2012 23:52:07 +0000 (-0400) Subject: Remove inappropriate \n from easy-ust sample X-Git-Tag: v2.0.1~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9d36f30e825135d8fbb3ba6cb31ab10aa938b135;p=lttng-ust.git 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 --- 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;