summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-11-14 01:52:49 +0100
committerKarolin Seeger <kseeger@samba.org>2009-11-26 11:40:54 +0100
commit61b8b5857869abc6b0043387e49f9547a2c0b374 (patch)
tree01553e804cca098a077522f169e3d01243bf3bb9 /nsswitch
parent407989421afa9f7de410e3ddc51de42bc6744b9d (diff)
downloadsamba-61b8b5857869abc6b0043387e49f9547a2c0b374.tar.gz
pam_winbind: fix a printf type mismatch warning
(cherry picked from commit 327e1377c96403e8a83b127470ae8464bf50347d)
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/pam_winbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index 7694251b55f..be9468ce014 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -1758,11 +1758,11 @@ static int winbind_auth_request(struct pwb_context *ctx,
"Password has expired "
"(Password was last set: %lld, "
"the policy says it should expire here "
- "%lld (now it's: %lu))\n",
+ "%lld (now it's: %ld))\n",
(long long int)last_set,
(long long int)last_set +
policy->expire,
- time(NULL));
+ (long)time(NULL));
return PAM_AUTHTOK_EXPIRED;
}