summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-13 15:46:09 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:53 +0200
commit795315c21d865a3060fc50bea79a758a7de7a956 (patch)
tree4d923cff9bff8bb79d3f73b1ee9d62e45692a3cd /src/util
parentde3705b32718db199789580ed2e6299967753974 (diff)
downloadsssd-795315c21d865a3060fc50bea79a758a7de7a956.tar.gz
sssd-795315c21d865a3060fc50bea79a758a7de7a956.tar.bz2
sssd-795315c21d865a3060fc50bea79a758a7de7a956.zip
Fix formating of variables with type: int
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sss_ldap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/sss_ldap.c b/src/util/sss_ldap.c
index dea38eaa..6d7b0907 100644
--- a/src/util/sss_ldap.c
+++ b/src/util/sss_ldap.c
@@ -420,8 +420,9 @@ static void sss_ldap_init_sys_connect_done(struct tevent_req *subreq)
lret = ldap_init_fd(state->sd, LDAP_PROTO_TCP, state->uri, &state->ldap);
if (lret != LDAP_SUCCESS) {
- DEBUG(1, ("ldap_init_fd failed: %s. [%ld][%s]\n",
- sss_ldap_err2string(lret), state->sd, state->uri));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("ldap_init_fd failed: %s. [%d][%s]\n",
+ sss_ldap_err2string(lret), state->sd, state->uri));
ret = lret == LDAP_SERVER_DOWN ? ETIMEDOUT : EIO;
goto fail;
}