diff options
author | davidn <davidn@FreeBSD.org> | 1997-05-10 19:02:38 +0000 |
---|---|---|
committer | davidn <davidn@FreeBSD.org> | 1997-05-10 19:02:38 +0000 |
commit | ee5122fbb9e85d1b545654bad2653884e183c053 (patch) | |
tree | 272f4beac953597a113e0ba8b2c8ab722b11c737 | |
parent | f766bd31c5532c03c0493f7a03d3a82eee240d48 (diff) | |
download | FreeBSD-src-ee5122fbb9e85d1b545654bad2653884e183c053.zip FreeBSD-src-ee5122fbb9e85d1b545654bad2653884e183c053.tar.gz |
login_getclass() -> login_getpwclass()
-rw-r--r-- | usr.bin/passwd/local_passwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/passwd/local_passwd.c b/usr.bin/passwd/local_passwd.c index e29342b..b64f4f7 100644 --- a/usr.bin/passwd/local_passwd.c +++ b/usr.bin/passwd/local_passwd.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: local_passwd.c,v 1.15 1997/03/11 14:05:35 ache Exp $ + * $Id: local_passwd.c,v 1.16 1997/03/24 16:10:26 ache Exp $ */ #ifndef lint @@ -117,7 +117,7 @@ getnewpasswd(pw, nis) * Determine minimum password length and next password change date. * Note that even for NIS passwords, login_cap is still used. */ - if ((lc = login_getclass(pw)) != NULL) { + if ((lc = login_getpwclass(pw)) != NULL) { time_t period; /* minpasswordlen capablity */ |