summaryrefslogtreecommitdiff
path: root/usr.sbin/hostapd/privsep.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-05-23 22:55:16 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-05-23 22:55:16 +0000
commit7856a68f4f13e5e9410ec7063ac49659a42e9975 (patch)
treec588d25bc8b9023eed6f34ea947cc5f460d6fa72 /usr.sbin/hostapd/privsep.c
parent38d24d3b457409054d4cea649b40faa6af21f357 (diff)
-endpwent
Diffstat (limited to 'usr.sbin/hostapd/privsep.c')
-rw-r--r--usr.sbin/hostapd/privsep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/hostapd/privsep.c b/usr.sbin/hostapd/privsep.c
index f4221208709..e9848f8803c 100644
--- a/usr.sbin/hostapd/privsep.c
+++ b/usr.sbin/hostapd/privsep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.c,v 1.9 2005/04/13 21:15:36 reyk Exp $ */
+/* $OpenBSD: privsep.c,v 1.10 2005/05/23 22:55:15 henning Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net>
@@ -91,7 +91,6 @@ hostapd_priv_init(struct hostapd_config *cfg)
if ((pw = getpwnam(HOSTAPD_USER)) == NULL)
hostapd_fatal("failed to get user \"%s\"\n", HOSTAPD_USER);
- endpwent();
endservent();
/* Create sockets */