Re: [PATCH v1 05/15] perf, tools: Add missing newline to expr parser error messages
From: Jiri Olsa
Date: Wed Aug 02 2017 - 03:38:01 EST
On Mon, Jul 24, 2017 at 04:40:05PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
thanks,
jirka
> ---
> 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
>