summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_async_netgroups.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-17 12:41:33 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:54 +0200
commit0e65abe5cf2abf5d4b431cf6bd161b419f07901d (patch)
treeaf685729a48d4f1874113f25011484022337b13f /src/providers/ldap/sdap_async_netgroups.c
parent71e234151ddc6b50576364c30bda2b72264b1083 (diff)
downloadsssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.tar.gz
sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.tar.bz2
sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.zip
Fix formating of variables with type: size_t
Diffstat (limited to 'src/providers/ldap/sdap_async_netgroups.c')
-rw-r--r--src/providers/ldap/sdap_async_netgroups.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/providers/ldap/sdap_async_netgroups.c b/src/providers/ldap/sdap_async_netgroups.c
index 81e53c84..099955a6 100644
--- a/src/providers/ldap/sdap_async_netgroups.c
+++ b/src/providers/ldap/sdap_async_netgroups.c
@@ -492,8 +492,9 @@ static void netgr_translate_members_ldap_done(struct tevent_req *subreq)
}
break;
default:
- DEBUG(1, ("Unexpected number of results [%d] for base search.\n",
- count));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Unexpected number of results [%zu] for base search.\n",
+ count));
}
if (state->dn_item->cn == NULL) {
@@ -661,7 +662,8 @@ static void sdap_get_netgroups_process(struct tevent_req *subreq)
return;
}
- DEBUG(6, ("Search for netgroups, returned %d results.\n", state->count));
+ DEBUG(SSSDBG_TRACE_FUNC,
+ ("Search for netgroups, returned %zu results.\n", state->count));
if (state->count == 0) {
/* No netgroups found in this search */
@@ -725,7 +727,7 @@ static void netgr_translate_members_done(struct tevent_req *subreq)
}
}
- DEBUG(9, ("Saving %d Netgroups - Done\n", state->count));
+ DEBUG(SSSDBG_TRACE_ALL, ("Saving %zu Netgroups - Done\n", state->count));
tevent_req_done(req);
}