diff options
author | Diane Trout <diane@ghic.org> | 2013-06-01 21:44:35 -0700 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-06-03 09:57:32 +0200 |
commit | 81c168768536983ce369247ce7ea431c0d225bb7 (patch) | |
tree | de8f85ab2123052923f9db222dcc0272e80f7267 | |
parent | be67064571fc1e5badfcb38d60af97da9b00e73c (diff) | |
download | freeipa-81c168768536983ce369247ce7ea431c0d225bb7.tar.gz freeipa-81c168768536983ce369247ce7ea431c0d225bb7.tar.xz freeipa-81c168768536983ce369247ce7ea431c0d225bb7.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.c | 2 |
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; |