From 0b2e2888b1b68742e91a64bbec8540c7bfa3f179 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 17 Jul 2013 16:43:16 +0200 Subject: Fix clang format string warning. warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- src/tests/debug-tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/debug-tests.c') diff --git a/src/tests/debug-tests.c b/src/tests/debug-tests.c index a751d836..f73f9bd7 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"); } -- cgit