From 8f835e4902b2b627684a45ff6969d54e3b678316 Mon Sep 17 00:00:00 2001 From: henning <> Date: Mon, 23 May 2005 22:46:43 +0000 Subject: [PATCH] no need for endpwent(0 here either --- src/usr.sbin/ntpd/ntp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/usr.sbin/ntpd/ntp.c b/src/usr.sbin/ntpd/ntp.c index 9f9661f5..b9dfda43 100644 --- a/src/usr.sbin/ntpd/ntp.c +++ b/src/usr.sbin/ntpd/ntp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp.c,v 1.58 2005/05/03 05:44:35 djm Exp $ */ +/* $OpenBSD: ntp.c,v 1.59 2005/05/23 22:46:43 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -122,7 +122,6 @@ ntp_main(int pipe_prnt[2], struct ntpd_conf *nconf) setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid)) fatal("can't drop privileges"); - endpwent(); endservent(); signal(SIGTERM, ntp_sighdlr);