commit 6c0dc5edf6d161dec71ff10d90571bf1bd132ecd
parent e906b16998deeba34230e70b29a8fdde66494a2b
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Wed, 10 May 2017 16:41:58 +0200
Fix an error message.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/parser/solparser.c b/src/parser/solparser.c
@@ -404,7 +404,8 @@ parse_realX
ASSERT(doc && realX && dst && dim > 0);
if(realX->type != YAML_SEQUENCE_NODE) {
- log_err(parser, realX, "expect a sequence of 3 reals.\n");
+ log_err(parser, realX, "expect a sequence of %lu reals.\n",
+ (unsigned long)dim);
res = RES_BAD_ARG;
goto error;
}