From c295036b6a2cf968ceac76d16d5fac43e22369f7 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Mon, 24 Jul 2017 16:40:05 -0700 Subject: [PATCH] perf tools: Add missing newline to expr parser error messages Signed-off-by: Andi Kleen Acked-by: Jiri Olsa Link: http://lkml.kernel.org/r/20170724234015.5165-6-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo --- 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; } } -- 2.7.4