summaryrefslogtreecommitdiff
path: root/src/providers/ldap/ldap_common.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-13 15:25:47 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:53 +0200
commit57cd3443dcb7c073c5a00a9f2c3c3a3030ae2d3e (patch)
treecdeeeedebdb764e83f3b7c9e5110231dfcf77163 /src/providers/ldap/ldap_common.c
parentfc6afb011198f84a30e6598c62923b5a588ccd54 (diff)
downloadsssd-57cd3443dcb7c073c5a00a9f2c3c3a3030ae2d3e.tar.gz
sssd-57cd3443dcb7c073c5a00a9f2c3c3a3030ae2d3e.tar.bz2
sssd-57cd3443dcb7c073c5a00a9f2c3c3a3030ae2d3e.zip
Fix formating of variables with type: long
Diffstat (limited to 'src/providers/ldap/ldap_common.c')
-rw-r--r--src/providers/ldap/ldap_common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index f7ad7118..0df5afe8 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -1578,8 +1578,9 @@ errno_t string_to_shadowpw_days(const char *s, long *d)
}
if (l < -1) {
- DEBUG(1, ("Input string contains not allowed negative value [%d].\n",
- l));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Input string contains not allowed negative value [%ld].\n",
+ l));
return EINVAL;
}