diff --git a/src/include/test/switch_test.h b/src/include/test/switch_test.h index b0890194db..1cf1ff94ff 100644 --- a/src/include/test/switch_test.h +++ b/src/include/test/switch_test.h @@ -196,13 +196,13 @@ static switch_status_t fst_init_core_and_modload(const char *confdir, const char * Check a test /w error message */ #define fst_xcheck(expr, error_msg) \ - fct_xchk(expr, error_msg); + fct_xchk(expr, "%s", error_msg); /** * Fail a test */ #define fst_fail(error_msg) \ - fct_xchk(0, error_msg); + fct_xchk(0, "%s", error_msg); /** * Check duration relative to test start, last marked time, or last check.