From b7218d18ffa5feba29b90ca70493ae6c1c6209bc Mon Sep 17 00:00:00 2001
From: Roman Tokarev <rtokarev@corp.mail.ru>
Date: Mon, 27 Dec 2010 12:53:05 +0300
Subject: [PATCH] [core] update confetti

---
 third_party/confetti/prscfg.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/third_party/confetti/prscfg.c b/third_party/confetti/prscfg.c
index 98358885e3..6565353214 100644
--- a/third_party/confetti/prscfg.c
+++ b/third_party/confetti/prscfg.c
@@ -1952,7 +1952,7 @@ YYSTYPE yylval;
 
 static int
 prscfg_yyerror(prscfg_yyscan_t yyscanner, char *msg) {
-	out_warning(CNF_SYNTAXERROR, "gram_yyerror: %s at line %d\n", msg, prscfgGetLineNo(yyscanner));
+	out_warning(CNF_SYNTAXERROR, "gram_yyerror: %s at line %d", msg, prscfgGetLineNo(yyscanner));
 	return 0;
 }
 
@@ -4343,7 +4343,7 @@ void prscfg_yyfree (void * ptr , yyscan_t yyscanner)
 
 static int
 scan_yyerror(char *msg, int lineno) {
-    out_warning(CNF_SYNTAXERROR, "scan_yyerror: %s at line %d\n", msg, lineno);
+    out_warning(CNF_SYNTAXERROR, "scan_yyerror: %s at line %d", msg, lineno);
 	return 0;
 }
 
-- 
GitLab