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 00:54:53 +0000 (01:54 +0100)
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;
                }