From fdf635f98a318982e6b7d17097a0dd3a4dfeb27c Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 17 May 2018 19:44:45 +0200 Subject: [PATCH] fix EC_TEST_CHECK --- lib/ecoli_test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ecoli_test.h b/lib/ecoli_test.h index 82094ce..94cd0b9 100644 --- a/lib/ecoli_test.h +++ b/lib/ecoli_test.h @@ -62,7 +62,7 @@ int ec_test_check_parse(struct ec_node *node, int expected, ...); #define EC_TEST_CHECK(cond, fmt, ...) ({ \ int ret_ = 0; \ if (!(cond)) { \ - EC_TEST_ERR("(" #cond ") is wrong. " \ + EC_TEST_ERR("(" #cond ") is wrong. " fmt \ ##__VA_ARGS__); \ ret_ = -1; \ } \ -- 2.39.5