summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_access.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/sdap_access.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/sdap_access.c')
-rw-r--r--src/providers/ldap/sdap_access.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index 53df7b0e..b381fc40 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -433,9 +433,10 @@ static bool nds_check_expired(const char *exp_time_str)
tzset();
expire_time -= timezone;
now = time(NULL);
- DEBUG(9, ("Time info: tzname[0] [%s] tzname[1] [%s] timezone [%d] "
- "daylight [%d] now [%d] expire_time [%d].\n", tzname[0],
- tzname[1], timezone, daylight, now, expire_time));
+ DEBUG(SSSDBG_TRACE_ALL,
+ ("Time info: tzname[0] [%s] tzname[1] [%s] timezone [%ld] "
+ "daylight [%d] now [%d] expire_time [%d].\n", tzname[0],
+ tzname[1], timezone, daylight, now, expire_time));
if (difftime(now, expire_time) > 0.0) {
DEBUG(4, ("NDS account expired.\n"));