aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/inetd
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1997-05-10 19:02:03 +0000
committerDavid Nugent <davidn@FreeBSD.org>1997-05-10 19:02:03 +0000
commit5d0bfe39ec79e990f43244945547410287956825 (patch)
tree2beea6deb6d3d8f4db094f3349238e917edf318b /usr.sbin/inetd
parentf56bc51b0f49fde49db90e21815e68f6f8da61d8 (diff)
Notes
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 3316bfb609aa8..86bb95d08c3d0 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,