login_getclass() -> login_getpwclass().

auth_rmfiles() was being called in error without LOGIN_CAP_AUTH defined.
This commit is contained in:
David Nugent 1997-05-10 18:57:16 +00:00
parent 56c0434453
commit a317d49b93
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25671

View file

@ -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