summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-17 16:27:43 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:55 +0200
commit37817cf318df48bf892da0d7cc21ef85b9b82484 (patch)
tree56efd447e510ec18029af5f5686540287fc7d893 /src
parent937928d1161a4f7bd894cb365ada97569ab0f78f (diff)
downloadsssd-37817cf318df48bf892da0d7cc21ef85b9b82484.tar.gz
sssd-37817cf318df48bf892da0d7cc21ef85b9b82484.tar.bz2
sssd-37817cf318df48bf892da0d7cc21ef85b9b82484.zip
Fix formating of variables with ber_ type
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async.c2
-rw-r--r--src/providers/ldap/sdap_async_connection.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c
index bdd3c3c8..09275dd6 100644
--- a/src/providers/ldap/sdap_async.c
+++ b/src/providers/ldap/sdap_async.c
@@ -1424,7 +1424,7 @@ static void sdap_get_generic_ext_done(struct sdap_op *op,
tevent_req_error(req, EIO);
return;
}
- DEBUG(7, ("Total count [%lu]\n", total_count));
+ DEBUG(SSSDBG_TRACE_INTERNAL, ("Total count [%d]\n", total_count));
if (cookie.bv_val != NULL && cookie.bv_len > 0) {
/* Cookie contains data, which means there are more requests
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c
index 17d03c32..0a774608 100644
--- a/src/providers/ldap/sdap_async_connection.c
+++ b/src/providers/ldap/sdap_async_connection.c
@@ -1987,8 +1987,9 @@ static int synchronous_tls_setup(LDAP *ldap)
lret = ldap_result(ldap, msgid, 1, NULL, &result);
if (lret != LDAP_RES_EXTENDED) {
- DEBUG(2, ("Unexpected ldap_result, expected [%d] got [%d].\n",
- LDAP_RES_EXTENDED, lret));
+ DEBUG(SSSDBG_OP_FAILURE,
+ ("Unexpected ldap_result, expected [%lu] got [%d].\n",
+ LDAP_RES_EXTENDED, lret));
lret = LDAP_PARAM_ERROR;
goto done;
}