FS-11979 [test] Fix error message log in fst_xcheck()

This commit is contained in:
Chris Rienzo 2019-08-02 15:44:26 +00:00
parent bc5dad27fb
commit c55b989220
1 changed files with 2 additions and 2 deletions

View File

@ -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.