usermod.c: Fix invalid variable name

Fix invalid LASTLOG_MAX_UID variable name to correct LASTLOG_UID_MAX.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
This commit is contained in:
Stanislav Brabec 2019-07-26 21:39:42 +02:00
parent 13c618465d
commit fc0ed79e5d

View File

@ -1879,7 +1879,7 @@ static void update_lastlog (void)
return; return;
} }
max_uid = (uid_t) getdef_ulong ("LASTLOG_MAX_UID", 0xFFFFFFFFUL); max_uid = (uid_t) getdef_ulong ("LASTLOG_UID_MAX", 0xFFFFFFFFUL);
if (user_newid > max_uid) { if (user_newid > max_uid) {
/* do not touch lastlog for large uids */ /* do not touch lastlog for large uids */
return; return;