summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd
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.sbin/inetd
parent3ff92b48772580abf83b53102d153c664a8e860f (diff)
downloadFreeBSD-src-f766bd31c5532c03c0493f7a03d3a82eee240d48.zip
FreeBSD-src-f766bd31c5532c03c0493f7a03d3a82eee240d48.tar.gz
login_getclass() -> login_getpwclass().
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r--usr.sbin/inetd/inetd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 3316bfb..86bb95d 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -40,7 +40,7 @@ static char copyright[] __attribute__ ((unused)) =
#ifndef lint
/* from: @(#)inetd.c 8.4 (Berkeley) 4/13/94"; */
static char inetd_c_rcsid[] __attribute__ ((unused)) =
- "$Id: inetd.c,v 1.22 1997/03/31 05:10:10 imp Exp $";
+ "$Id: inetd.c,v 1.23 1997/04/28 13:55:07 wollman Exp $";
#endif /* not lint */
/*
@@ -128,7 +128,6 @@ static char inetd_c_rcsid[] __attribute__ ((unused)) =
#include <sysexits.h>
#ifdef LOGIN_CAP
-#undef AUTH_NONE /* conflicts with rpc stuff */
#include <login_cap.h>
#endif
@@ -516,7 +515,7 @@ main(argc, argv, envp)
* Establish the class now, falls back to
* the "default" if unavailable.
*/
- lc = login_getclass(pwd);
+ lc = login_getpwclass(pwd);
#endif
if (setsid() < 0) {
syslog(LOG_ERR,
OpenPOWER on IntegriCloud