summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2009-06-01 23:22:59 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2009-06-01 23:22:59 +0000
commit1faf90d4bfb1805df0e3d7f70ba9d4c240834e7c (patch)
tree1487c1f95f23c3b8b5dbbe35c40808068d8e308b /usr.sbin
parent754119db11c710ce61f23b4fd7ff25048c289403 (diff)
no endpwent
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dvmrpd/dvmrpd.c4
-rw-r--r--usr.sbin/dvmrpd/rde.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/dvmrpd/dvmrpd.c b/usr.sbin/dvmrpd/dvmrpd.c
index 0356ed1193d..9362b27b1a0 100644
--- a/usr.sbin/dvmrpd/dvmrpd.c
+++ b/usr.sbin/dvmrpd/dvmrpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvmrpd.c,v 1.8 2009/05/31 20:31:35 jacekm Exp $ */
+/* $OpenBSD: dvmrpd.c,v 1.9 2009/06/01 23:22:58 henning Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -194,8 +194,6 @@ main(int argc, char *argv[])
if (getpwnam(DVMRPD_USER) == NULL)
errx(1, "unknown user %s", DVMRPD_USER);
- endpwent();
-
/* start logging */
log_init(1);
diff --git a/usr.sbin/dvmrpd/rde.c b/usr.sbin/dvmrpd/rde.c
index 8dfa474c92a..954187a3dd5 100644
--- a/usr.sbin/dvmrpd/rde.c
+++ b/usr.sbin/dvmrpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.18 2009/05/31 20:31:35 jacekm Exp $ */
+/* $OpenBSD: rde.c,v 1.19 2009/06/01 23:22:58 henning Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -104,8 +104,6 @@ rde(struct dvmrpd_conf *xconf, int pipe_parent2rde[2], int pipe_dvmrpe2rde[2],
setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid))
fatal("can't drop privileges");
- endpwent();
-
event_init();
/* setup signal handler */