From b8e6d0e6d6b9b56ef508578a2ae0078b5b7d22d0 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 7 Mar 2013 10:46:10 +0100 Subject: Fixed typo in debug message. C compiler did not complain, because "index" is function defined in header file --- src/providers/ldap/sdap_access.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/providers/ldap/sdap_access.c') 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; } -- cgit