commit c1d3fa69445607983c8a4a2fe9b77b58cc9916c7
parent 4deca1ea5755338a21445a38710261888e34c120
Author: Armin Weigl <tb46305@gmail.com>
Date: Wed, 15 Jun 2022 22:11:39 +0200
check: expect: fix typo s/error/verror/
Signed-off-by: Armin Weigl <tb46305@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/check.c b/src/check.c
@@ -102,7 +102,7 @@ expect(struct context *ctx, const struct location *loc, bool constraint,
if (!constraint) {
va_list ap;
va_start(ap, fmt);
- error(ctx, *loc, NULL, fmt, ap);
+ verror(ctx, *loc, NULL, fmt, ap);
va_end(ap);
handle_errors(ctx->errors);