summaryrefslogtreecommitdiff
path: root/security/ssh2/files/patch-af
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1997-05-10 19:03:09 +0000
committerDavid Nugent <davidn@FreeBSD.org>1997-05-10 19:03:09 +0000
commit9c41c4452de7fc7f8d99125f936e7b28058304c1 (patch)
tree347e1b6e98b61b2bd3c7d3dfb2c120783687c5d1 /security/ssh2/files/patch-af
parentI'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-af4
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. */