From f53c4ab1494acad333e73965f13cde67cf663b1c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 20 Nov 2023 09:31:40 +0100 Subject: [PATCH] yaml: remove newline from error message --- src/conf-yaml-loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;