diff options
author | David Nugent <davidn@FreeBSD.org> | 1997-05-10 19:03:09 +0000 |
---|---|---|
committer | David Nugent <davidn@FreeBSD.org> | 1997-05-10 19:03:09 +0000 |
commit | 9c41c4452de7fc7f8d99125f936e7b28058304c1 (patch) | |
tree | 347e1b6e98b61b2bd3c7d3dfb2c120783687c5d1 /security/ssh2/files/patch-af | |
parent | I'd rather use a package than a port (diff) |
login_getclass() -> login_getpwclass().
Notes
Notes:
svn path=/head/; revision=6441
Diffstat (limited to '')
-rw-r--r-- | security/ssh2/files/patch-af | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/ssh2/files/patch-af b/security/ssh2/files/patch-af index 511677770aff..4f390fa80dfe 100644 --- a/security/ssh2/files/patch-af +++ b/security/ssh2/files/patch-af @@ -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. */ |