From c55b9892201f5758099a1f90280e4774f34fa696 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Fri, 2 Aug 2019 15:44:26 +0000 Subject: [PATCH] FS-11979 [test] Fix error message log in fst_xcheck() --- src/include/test/switch_test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.