From 57cd3443dcb7c073c5a00a9f2c3c3a3030ae2d3e Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Sat, 13 Jul 2013 15:25:47 +0200 Subject: Fix formating of variables with type: long --- src/providers/ldap/ldap_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/providers/ldap/ldap_common.c') 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; } -- cgit