summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiane Trout <diane@ghic.org>2013-06-01 21:44:35 -0700
committerMartin Kosek <mkosek@redhat.com>2013-06-03 09:57:24 +0200
commit517e475f611e56778112a4b361e3809844ad95d9 (patch)
treeda4cda566ade7940e040cb7dad730d534a057124
parentec41744e7638a233869f3e65fe07fdea55f0ff5c (diff)
downloadfreeipa-517e475f611e56778112a4b361e3809844ad95d9.tar.gz
freeipa-517e475f611e56778112a4b361e3809844ad95d9.tar.xz
freeipa-517e475f611e56778112a4b361e3809844ad95d9.zip
Fix log format not a string literal.
This was to resolve a -Werror=format-security error. ipa_extdom_extop.c: In function 'ipa_extdom_extop': ipa_extdom_extop.c:144:9: error: format not a string literal and no format arguments [-Werror=format-security]
-rw-r--r--daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c b/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c
index f36878c37..37a4b1dce 100644
--- a/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c
+++ b/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c
@@ -141,7 +141,7 @@ done:
free(req);
free(res);
if (err_msg != NULL) {
- LOG(err_msg);
+ LOG("%s", err_msg);
}
slapi_send_ldap_result(pb, rc, NULL, err_msg, 0, NULL);
return SLAPI_PLUGIN_EXTENDED_SENT_RESULT;