* lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
shadow entry is now sufficient for agecheck. Remove the first passwd entry parameter.
This commit is contained in:
@@ -160,7 +160,7 @@ int expire (const struct passwd *pw, const struct spwd *sp)
|
||||
* to expire and warns the user of the pending password expiration.
|
||||
*/
|
||||
|
||||
void agecheck (const struct passwd *pw, const struct spwd *sp)
|
||||
void agecheck (const struct spwd *sp)
|
||||
{
|
||||
long now = (long) time ((time_t *) 0) / SCALE;
|
||||
long remain;
|
||||
|
Reference in New Issue
Block a user