Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751573AbdFFR5W (ORCPT ); Tue, 6 Jun 2017 13:57:22 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36705 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751533AbdFFR5V (ORCPT ); Tue, 6 Jun 2017 13:57:21 -0400 X-ME-Sender: X-Sasl-enc: q4oOZrVRU4ohyC95oBU7uPQs50jHxT1aPTHHc6aLidix 1496771839 Date: Tue, 6 Jun 2017 11:57:18 -0600 From: Michael Sartain To: Steven Rostedt Cc: linux-kernel@vger.kernel.org Subject: [PATCH] trace-cmd: Fix bad force_token escape sequence Message-ID: <20170606175717.todihqep2lfkzcjo@mikesart-cos> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 750 Lines: 22 Removes extra backslash in format string Signed-off-by: Michael Sartain --- event-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event-parse.c b/event-parse.c index 3217131..61f48c1 100644 --- a/event-parse.c +++ b/event-parse.c @@ -1093,7 +1093,7 @@ static enum event_type __read_token(char **tok) if (strcmp(*tok, "LOCAL_PR_FMT") == 0) { free(*tok); *tok = NULL; - return force_token("\"\%s\" ", tok); + return force_token("\"%s\" ", tok); } else if (strcmp(*tok, "STA_PR_FMT") == 0) { free(*tok); *tok = NULL; -- 2.11.0