summaryrefslogtreecommitdiffstats
path: root/src/tests/debug-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/debug-tests.c')
-rw-r--r--src/tests/debug-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/debug-tests.c b/src/tests/debug-tests.c
index a751d836c..f73f9bd7e 100644
--- a/src/tests/debug-tests.c
+++ b/src/tests/debug-tests.c
@@ -222,7 +222,7 @@ int test_helper_debug_check_message(int level, int msgmode)
}
if (msgmode == 0) {
- DEBUG(level, (body));
+ DEBUG(level, ("%s", body));
} else {
DEBUG_MSG(level, __FUNCTION__, "some error");
}