summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-05-10 19:02:03 +0000
committerdavidn <davidn@FreeBSD.org>1997-05-10 19:02:03 +0000
commitf766bd31c5532c03c0493f7a03d3a82eee240d48 (patch)
tree8c63071378b51e54b7668e817a936001d048ff8f /usr.bin
parent3ff92b48772580abf83b53102d153c664a8e860f (diff)
downloadFreeBSD-src-f766bd31c5532c03c0493f7a03d3a82eee240d48.zip
FreeBSD-src-f766bd31c5532c03c0493f7a03d3a82eee240d48.tar.gz
login_getclass() -> login_getpwclass().
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/su/su.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index 1c17d5c..fb137d8 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)su.c 8.3 (Berkeley) 4/2/94";
*/
static const char rcsid[] =
- "$Id: su.c,v 1.18 1997/02/24 20:32:24 guido Exp $";
+ "$Id: su.c,v 1.19 1997/03/29 04:32:40 imp Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -206,7 +206,7 @@ main(argc, argv)
errx(1, "unknown login: %s", user);
}
#ifdef LOGIN_CAP
- lc = login_getclass(pwd);
+ lc = login_getpwclass(pwd);
#endif
#ifdef WHEELSU
OpenPOWER on IntegriCloud