From: Victor Julien Date: Mon, 20 Nov 2023 08:31:40 +0000 (+0100) Subject: yaml: remove newline from error message X-Git-Tag: suricata-8.0.0-beta1~1623 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f53c4ab1494acad333e73965f13cde67cf663b1c;p=thirdparty%2Fsuricata.git yaml: remove newline from error message --- diff --git a/src/conf-yaml-loader.c b/src/conf-yaml-loader.c index 1bd107e0c1..ea64563609 100644 --- a/src/conf-yaml-loader.c +++ b/src/conf-yaml-loader.c @@ -185,7 +185,7 @@ static int ConfYamlParse(yaml_parser_t *parser, ConfNode *parent, int inseq, int while (!done) { if (!yaml_parser_parse(parser, &event)) { - SCLogError("Failed to parse configuration file at line %" PRIuMAX ": %s\n", + SCLogError("Failed to parse configuration file at line %" PRIuMAX ": %s", (uintmax_t)parser->problem_mark.line, parser->problem); retval = -1; break;