login_getclass() -> login_getpwclass().

This commit is contained in:
David Nugent 1997-05-10 19:03:09 +00:00
parent 2c0354b819
commit 9c41c4452d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6441
2 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@
&from);
+ #ifdef HAVE_LOGIN_CAP_H
+ lc = login_getclass(pw);
+ lc = login_getclass(pw->pw_class);
+ #endif
+
/* Check if .hushlogin exists. Note that we cannot use userfile
@ -165,7 +165,7 @@
! login_cap_t *lc;
! char *real_shell;
!
! lc = login_getclass(pw);
! lc = login_getclass(pw->pw_class);
! auth_checknologin(lc);
! #else /* !HAVE_LOGIN_CAP_H */
/* Check /etc/nologin. */

View File

@ -55,7 +55,7 @@
&from);
+ #ifdef HAVE_LOGIN_CAP_H
+ lc = login_getclass(pw);
+ lc = login_getclass(pw->pw_class);
+ #endif
+
/* Check if .hushlogin exists. Note that we cannot use userfile
@ -165,7 +165,7 @@
! login_cap_t *lc;
! char *real_shell;
!
! lc = login_getclass(pw);
! lc = login_getclass(pw->pw_class);
! auth_checknologin(lc);
! #else /* !HAVE_LOGIN_CAP_H */
/* Check /etc/nologin. */