Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1695270

[PATCH v1 05/15] perf, tools: Add missing newline to expr parser error messages

From Andi Kleen <andi@firstfloor.org>
Newsgroups linux.kernel
Subject [PATCH v1 05/15] perf, tools: Add missing newline to expr parser error messages
Date 2017-07-25 01:50 +0200
Message-ID <u6VgS-3zh-5@gated-at.bofh.it> (permalink)
References <u6VgR-3zh-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Andi Kleen <ak@linux.intel.com>

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 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 954556bea36e..953e65ba2cc7 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.9.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v1 05/15] perf, tools: Add missing newline to expr parser error messages Andi Kleen <andi@firstfloor.org> - 2017-07-25 01:50 +0200

csiph-web