From 0e65abe5cf2abf5d4b431cf6bd161b419f07901d Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 17 Jul 2013 12:41:33 +0200 Subject: Fix formating of variables with type: size_t --- src/providers/ldap/sdap_access.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 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 b381fc40..9ea90775 100644 --- a/src/providers/ldap/sdap_access.c +++ b/src/providers/ldap/sdap_access.c @@ -464,8 +464,9 @@ static bool nds_check_time_map(const struct ldb_val *time_map) } if (time_map->length != 42) { - DEBUG(4, ("Allowed time map has the wrong size, " - "got [%d], expected 42.\n", time_map->length)); + DEBUG(SSSDBG_FUNC_DATA, + ("Allowed time map has the wrong size, " + "got [%zu], expected 42.\n", time_map->length)); return true; } @@ -477,7 +478,7 @@ static bool nds_check_time_map(const struct ldb_val *time_map) if (map_index > 335) { DEBUG(SSSDBG_CRIT_FAILURE, - ("Unexpected index value [%d] for time map.\n", map_index)); + ("Unexpected index value [%zu] for time map.\n", map_index)); return true; } @@ -485,7 +486,7 @@ static bool nds_check_time_map(const struct ldb_val *time_map) if (q.quot > 41 || q.quot < 0 || q.rem > 7 || q.rem < 0) { DEBUG(SSSDBG_CRIT_FAILURE, - ("Unexpected result of div(), [%d][%d][%d].\n", + ("Unexpected result of div(), [%zu][%d][%d].\n", map_index, q.quot, q.rem)); return true; } -- cgit