diff options
author | davidn <davidn@FreeBSD.org> | 1997-05-10 18:57:16 +0000 |
---|---|---|
committer | davidn <davidn@FreeBSD.org> | 1997-05-10 18:57:16 +0000 |
commit | 4b53a84f2ccf941e093c91d94de878957407dad4 (patch) | |
tree | 8226d3fdf67ec136c9faf6e1400157652f31f96f /usr.bin/login | |
parent | 1ad6ccc98afd1c55203d6b83b4d8e79fa7b3847a (diff) | |
download | FreeBSD-src-4b53a84f2ccf941e093c91d94de878957407dad4.zip FreeBSD-src-4b53a84f2ccf941e093c91d94de878957407dad4.tar.gz |
login_getclass() -> login_getpwclass().
auth_rmfiles() was being called in error without LOGIN_CAP_AUTH defined.
Diffstat (limited to 'usr.bin/login')
-rw-r--r-- | usr.bin/login/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index eae65b8..b69892e 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -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 |