summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfe.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-05-23 22:54:06 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-05-23 22:54:06 +0000
commit38d24d3b457409054d4cea649b40faa6af21f357 (patch)
tree946ab1819cf7e8a40151f6ca60ccdf708e2a1e26 /usr.sbin/ospfd/ospfe.c
parent579265c709e2467c78fe201cd9688a3d7db28fb5 (diff)
useless use of endpwent
Diffstat (limited to 'usr.sbin/ospfd/ospfe.c')
-rw-r--r--usr.sbin/ospfd/ospfe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c
index 2952929f5bb..cab7d223a4a 100644
--- a/usr.sbin/ospfd/ospfe.c
+++ b/usr.sbin/ospfd/ospfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.c,v 1.20 2005/05/12 19:10:12 norby Exp $ */
+/* $OpenBSD: ospfe.c,v 1.21 2005/05/23 22:54:05 henning Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -123,8 +123,6 @@ ospfe(struct ospfd_conf *xconf, int pipe_parent2ospfe[2], int pipe_ospfe2rde[2],
setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid))
fatal("can't drop privileges");
- endpwent();
-
event_init();
nbr_init(NBR_HASHSIZE);
lsa_cache_init(LSA_HASHSIZE);