diff options
author | 2009-06-01 23:21:09 +0000 | |
---|---|---|
committer | 2009-06-01 23:21:09 +0000 | |
commit | e6a80f1f6e52bee9ed552ab4e87a0bab5ebb8046 (patch) | |
tree | 34276edea335850671195b1fba265276d3302722 | |
parent | When an RPC client program encounters ENOMEM while trying to print (diff) | |
download | wireguard-openbsd-e6a80f1f6e52bee9ed552ab4e87a0bab5ebb8046.tar.xz wireguard-openbsd-e6a80f1f6e52bee9ed552ab4e87a0bab5ebb8046.zip |
no we don't need endpwent
i remember we already had the confusion and bgpd doesn't have the endpwent
-rw-r--r-- | usr.sbin/ntpd/ntpd.c | 4 |
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); |