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


Groups > linux.kernel > #1666327

[PATCH v3 1/6] Fix bad force_token escape sequence

From Michael Sartain <mikesart@fastmail.com>
Newsgroups linux.kernel
Subject [PATCH v3 1/6] Fix bad force_token escape sequence
Date 2017-06-15 02:30 +0200
Message-ID <tSqPD-3IL-5@gated-at.bofh.it> (permalink)
References <tSqPD-3IL-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Michael Sartain <mikesart@fastmail.com>
---
 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

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


Thread

[PATCH v3 1/6] Fix bad force_token escape sequence Michael Sartain <mikesart@fastmail.com> - 2017-06-15 02:30 +0200

csiph-web