mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 13:44:55 +00:00
login_getclass() -> login_getpwclass().
auth_rmfiles() was being called in error without LOGIN_CAP_AUTH defined.
This commit is contained in:
parent
56c0434453
commit
a317d49b93
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25671
|
@ -331,7 +331,7 @@ main(argc, argv)
|
|||
* within the next block. pwd can be NULL since it
|
||||
* falls back to the "default" class if it is.
|
||||
*/
|
||||
lc = login_getclass(pwd);
|
||||
lc = login_getpwclass(pwd);
|
||||
#endif /* LOGIN_CAP */
|
||||
|
||||
/*
|
||||
|
@ -475,7 +475,7 @@ main(argc, argv)
|
|||
|
||||
(void)setpriority(PRIO_PROCESS, 0, 0);
|
||||
|
||||
#ifdef LOGIN_CAP
|
||||
#ifdef LOGIN_CAP_AUTH
|
||||
if (rval)
|
||||
auth_rmfiles();
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue