pam_winbind: fix a printf type mismatch warning
authorBjörn Jacke <bj@sernet.de>
Sat, 14 Nov 2009 00:52:49 +0000 (01:52 +0100)
committerBjörn Jacke <bj@sernet.de>
Sat, 14 Nov 2009 01:14:09 +0000 (02:14 +0100)
nsswitch/pam_winbind.c

index 7694251b55f4dcc2f93e6f1aaa2420aff9d7d7b6..be9468ce0146a14c582e72defbfa630f39863d19 100644 (file)
@@ -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;
                }