From 5377d5f8946cd7fe3aa17f827eb46a9efa413ade Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Sat, 14 Nov 2009 01:52:49 +0100 Subject: pam_winbind: fix a printf type mismatch warning --- nsswitch/pam_winbind.c | 4 ++-- 1 file 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; } -- cgit