summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-17 16:43:16 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-07-19 10:22:01 +0200
commit0b2e2888b1b68742e91a64bbec8540c7bfa3f179 (patch)
tree746fe527c71033b43538ca8a0f42b633ad886950 /src/tests
parent6a281a49197ff76637bd6037692bb9569df8f2da (diff)
downloadsssd-0b2e2888b1b68742e91a64bbec8540c7bfa3f179.tar.gz
sssd-0b2e2888b1b68742e91a64bbec8540c7bfa3f179.tar.bz2
sssd-0b2e2888b1b68742e91a64bbec8540c7bfa3f179.zip
Fix clang format string warning.
warning: format string is not a string literal (potentially insecure) [-Wformat-security]
Diffstat (limited to 'src/tests')
-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 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");
}