summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-03-07 10:46:10 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-03-07 13:47:22 +0100
commitb8e6d0e6d6b9b56ef508578a2ae0078b5b7d22d0 (patch)
tree7c79307e176da39357972788d7ba5cd75a05aa30 /src/providers/ldap
parentf0d860c4a1048a05fd7fb9e7dd674474ad8a82f3 (diff)
downloadsssd-b8e6d0e6d6b9b56ef508578a2ae0078b5b7d22d0.tar.gz
sssd-b8e6d0e6d6b9b56ef508578a2ae0078b5b7d22d0.tar.bz2
sssd-b8e6d0e6d6b9b56ef508578a2ae0078b5b7d22d0.zip
Fixed typo in debug message.
C compiler did not complain, because "index" is function defined in header file <string.h>
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_access.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index aebf4524..a7eadfde 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -516,15 +516,17 @@ static bool nds_check_time_map(const struct ldb_val *time_map)
(tm_now->tm_min < 30 ? 0 : 1);
if (map_index > 335) {
- DEBUG(1, ("Unexpected index value [%d] for time map.\n", index));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Unexpected index value [%d] for time map.\n", map_index));
return true;
}
q = div(map_index, 8);
if (q.quot > 41 || q.quot < 0 || q.rem > 7 || q.rem < 0) {
- DEBUG(1, ("Unexpected result of div(), [%d][%d][%d].\n",
- index, q.quot, q.rem));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Unexpected result of div(), [%d][%d][%d].\n",
+ map_index, q.quot, q.rem));
return true;
}