From 28b97861b968e14500db30ea8b7fe5932765194b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 24 Nov 2008 18:29:17 +0100 Subject: [PATCH] wrc: parser_error() does not need a trailing '\n'. --- tools/wrc/parser.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wrc/parser.l b/tools/wrc/parser.l index 2ed5f4b29e..bddc309554 100644 --- a/tools/wrc/parser.l +++ b/tools/wrc/parser.l @@ -306,7 +306,7 @@ static unsigned long xstrtoul(const char *nptr, char **endptr, int base) errno = 0; l = strtoul(nptr, endptr, base); if (l == ULONG_MAX && errno == ERANGE) - parser_error("integer constant %s is too large\n", nptr); + parser_error("integer constant %s is too large", nptr); return l; }