From 7599b90b0a3dca8ba2dee9472881805085c62eaf Mon Sep 17 00:00:00 2001 From: stevesk <> Date: Tue, 10 Feb 2009 16:41:39 +0000 Subject: [PATCH] endservent() not needed here; ok henning@ --- src/usr.sbin/ntpd/ntp_dns.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/usr.sbin/ntpd/ntp_dns.c b/src/usr.sbin/ntpd/ntp_dns.c index 1243f205..13e43e20 100644 --- a/src/usr.sbin/ntpd/ntp_dns.c +++ b/src/usr.sbin/ntpd/ntp_dns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp_dns.c,v 1.1 2008/09/12 10:46:09 henning Exp $ */ +/* $OpenBSD: ntp_dns.c,v 1.2 2009/02/10 16:41:39 stevesk Exp $ */ /* * Copyright (c) 2003-2008 Henning Brauer @@ -75,7 +75,6 @@ ntp_dns(int pipe_ntp[2], struct ntpd_conf *nconf, struct passwd *pw) setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) || setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid)) fatal("can't drop privileges"); - endservent(); signal(SIGTERM, sighdlr_dns); signal(SIGINT, sighdlr_dns);