diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-23 22:46:44 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-23 22:46:44 +0000 |
commit | e920e04a65d636e071b828cbb757d16795e38e2c (patch) | |
tree | a6a517afbea379236045bbe8ff4bd1af81a88ad8 | |
parent | f886c94de344a6dcc0ffeea15e925bbc7f64fda3 (diff) |
no need for endpwent(0 here either
-rw-r--r-- | usr.sbin/ntpd/ntp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntp.c b/usr.sbin/ntpd/ntp.c index 9f9661f5b66..b9dfda43237 100644 --- a/usr.sbin/ntpd/ntp.c +++ b/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 <henning@openbsd.org> @@ -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); |