summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-05-23 20:12:29 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-05-23 20:12:29 +0000
commitf74911105d137d26d8d7ab421c4f5587d8c83480 (patch)
treee5336bdba56c4037e959cf25edccecc96643ee34 /usr.sbin/syslogd
parent99124a8921c8171be1600365fa8373e54b7cb6ac (diff)
noo need for endpwent() here at all, ok theo
Diffstat (limited to 'usr.sbin/syslogd')
-rw-r--r--usr.sbin/syslogd/privsep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/privsep.c b/usr.sbin/syslogd/privsep.c
index 6e1f90804d2..6e031133901 100644
--- a/usr.sbin/syslogd/privsep.c
+++ b/usr.sbin/syslogd/privsep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.c,v 1.24 2005/05/03 05:44:35 djm Exp $ */
+/* $OpenBSD: privsep.c,v 1.25 2005/05/23 20:12:28 henning Exp $ */
/*
* Copyright (c) 2003 Anil Madhavapeddy <anil@recoil.org>
@@ -116,7 +116,6 @@ priv_init(char *conf, int numeric, int lockfd, int nullfd, char *argv[])
pw = getpwnam("_syslogd");
if (pw == NULL)
errx(1, "unknown user _syslogd");
- endpwent();
child_pid = fork();
if (child_pid < 0)