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

From: Michael Sartain
Date: Tue Jun 06 2017 - 13:08:13 EST


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


--vbdhlof7p7wwpskb
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-Fix-unsigned-return-values-being-error-checked-as-ne.patch"