pam_winbind: fix a printf type mismatch warning
[ira/wip.git] / nsswitch / pam_winbind.c
index 93df55d88fcff4be445129f3fe119521d95bbfb5..667be15ac97b7cb612da4fe88ab3a3fe113dd6d4 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;
                }