[tip:perf/core] perf tools: Add missing newline to expr parser error messages

From: tip-bot for Andi Kleen
Date: Mon Aug 14 2017 - 13:45:59 EST


Commit-ID: c295036b6a2cf968ceac76d16d5fac43e22369f7
Gitweb: http://git.kernel.org/tip/c295036b6a2cf968ceac76d16d5fac43e22369f7
Author: Andi Kleen <ak@xxxxxxxxxxxxxxx>
AuthorDate: Mon, 24 Jul 2017 16:40:05 -0700
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Fri, 11 Aug 2017 10:42:53 -0300

perf tools: Add missing newline to expr parser error messages

Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Link: http://lkml.kernel.org/r/20170724234015.5165-6-andi@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/util/expr.y | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/expr.y b/tools/perf/util/expr.y
index 954556b..953e65b 100644
--- a/tools/perf/util/expr.y
+++ b/tools/perf/util/expr.y
@@ -62,7 +62,7 @@ all_expr: expr { *final_val = $1; }

expr: NUMBER
| ID { if (lookup_id(ctx, $1, &$$) < 0) {
- pr_debug("%s not found", $1);
+ pr_debug("%s not found\n", $1);
YYABORT;
}
}