summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2009-06-01 23:21:10 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2009-06-01 23:21:10 +0000
commit754119db11c710ce61f23b4fd7ff25048c289403 (patch)
tree229bb37ea68f1b913f917f8a54ab91b35f792754 /usr.sbin
parent52a5997b4a71e0539649546daf581200efcd8932 (diff)
no we don't need endpwent
i remember we already had the confusion and bgpd doesn't have the endpwent
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ntpd/ntpd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/ntpd.c b/usr.sbin/ntpd/ntpd.c
index cc9befaac9a..84ef9ad650d 100644
--- a/usr.sbin/ntpd/ntpd.c
+++ b/usr.sbin/ntpd/ntpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.c,v 1.64 2009/02/10 16:52:09 stevesk Exp $ */
+/* $OpenBSD: ntpd.c,v 1.65 2009/06/01 23:21:09 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -144,8 +144,6 @@ main(int argc, char *argv[])
if ((pw = getpwnam(NTPD_USER)) == NULL)
errx(1, "unknown user %s", NTPD_USER);
- endpwent();
-
reset_adjtime();
if (!lconf.settime) {
log_init(lconf.debug);