From: Pablo Neira Ayuso Date: Mon, 1 Aug 2016 21:41:27 +0000 (+0200) Subject: scanner: don't break line on include error message X-Git-Tag: v0.7~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df3c616c84ff14eb3990d84b0a9f33797e2fe499;p=thirdparty%2Fnftables.git scanner: don't break line on include error message For consistency with other error messages in this codebase, don't add a line break. Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/scanner.l b/src/scanner.l index cb2ea3201..613c3c9e0 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -644,7 +644,7 @@ int scanner_include_file(void *scanner, const char *filename, name = filename; } if (f == NULL) { - erec = error(loc, "Could not open file \"%s\": %s\n", + erec = error(loc, "Could not open file \"%s\": %s", filename, strerror(errno)); goto err; }