git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ac3c16
)
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 00:54:53 +0000
(
01:54
+0100)
nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/nsswitch/pam_winbind.c
b/nsswitch/pam_winbind.c
index 93df55d88fcff4be445129f3fe119521d95bbfb5..667be15ac97b7cb612da4fe88ab3a3fe113dd6d4 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;
}