git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8549fee
)
pam_winbind: fix a printf type mismatch warning
author
Björn Jacke
<bj@sernet.de>
Sat, 14 Nov 2009 00:52:49 +0000
(
01:52
+0100)
committer
Björn Jacke
<bj@sernet.de>
Sat, 14 Nov 2009 01:14:09 +0000
(
02:14
+0100)
nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/nsswitch/pam_winbind.c
b/nsswitch/pam_winbind.c
index 7694251b55f4dcc2f93e6f1aaa2420aff9d7d7b6..be9468ce0146a14c582e72defbfa630f39863d19 100644
(file)
--- 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: %l
u
))\n",
+ "%lld (now it's: %l
d
))\n",
(long long int)last_set,
(long long int)last_set +
policy->expire,
- time(NULL));
+
(long)
time(NULL));
return PAM_AUTHTOK_EXPIRED;
}