summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-11-14 01:52:49 +0100
committerBjörn Jacke <bj@sernet.de>2009-11-14 01:54:53 +0100
commit5377d5f8946cd7fe3aa17f827eb46a9efa413ade (patch)
tree3b4475903135bf8c95b741b4ab9dfd1536784a6c
parent0ac3c1693c0a0576fbde27547cda472fa166a3a2 (diff)
downloadsamba-5377d5f8946cd7fe3aa17f827eb46a9efa413ade.tar.gz
samba-5377d5f8946cd7fe3aa17f827eb46a9efa413ade.tar.bz2
samba-5377d5f8946cd7fe3aa17f827eb46a9efa413ade.zip
pam_winbind: fix a printf type mismatch warning
-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 93df55d88f..667be15ac9 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;
}