summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-11-13 06:51:59 +0000
committerMartin Basti <mbasti@redhat.com>2015-11-13 18:37:23 +0100
commitbe6ecac220a8182ace0c8b8444cc2ec23bcff214 (patch)
tree5f7cee587ff678fcac41de826d78ce170e808823 /daemons
parent08d65f54e75948b929fa1c1e66eefb6bfd8e9334 (diff)
downloadfreeipa-be6ecac220a8182ace0c8b8444cc2ec23bcff214.tar.gz
freeipa-be6ecac220a8182ace0c8b8444cc2ec23bcff214.tar.xz
freeipa-be6ecac220a8182ace0c8b8444cc2ec23bcff214.zip
ipa-extdom-extop: Fix warning Wformat
In file included from ipa_extdom_extop.c:41:0: ipa_extdom_extop.c: In function ‘ipa_extdom_init_ctx’: ipa_extdom_extop.c:203:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=] LOG("Maximal nss buffer size set to [%d]!\n", ctx->max_nss_buf_size); ^ ../common/util.h:53:21: note: in definition of macro ‘LOG_PLUGIN_NAME’ fmt, ##__VA_ARGS__) ^ ipa_extdom_extop.c:203:5: note: in expansion of macro ‘LOG’ Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'daemons')
-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 708d0e4a2..bc25e7643 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
@@ -200,7 +200,7 @@ static int ipa_extdom_init_ctx(Slapi_PBlock *pb, struct ipa_extdom_ctx **_ctx)
if (ctx->max_nss_buf_size == 0) {
ctx->max_nss_buf_size = DEFAULT_MAX_NSS_BUFFER;
}
- LOG("Maximal nss buffer size set to [%d]!\n", ctx->max_nss_buf_size);
+ LOG("Maximal nss buffer size set to [%zu]!\n", ctx->max_nss_buf_size);
ret = 0;