diff options
-rw-r--r-- | usr.sbin/dvmrpd/dvmrpd.c | 4 | ||||
-rw-r--r-- | usr.sbin/dvmrpd/rde.c | 4 |
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 */ |