diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-06-02 20:45:35 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-06-02 20:45:35 +0000 |
commit | 86b5168fb1ce131c47cf5452212e1eba205fe1f8 (patch) | |
tree | e27b233b0694312f3e2f98656ddd24b81427c5a5 | |
parent | 423fa23a5187008cc40766c993ea15c4ddf6af8d (diff) |
incredibly stupid typo
-rw-r--r-- | usr.sbin/ntpd/ntp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntp.c b/usr.sbin/ntpd/ntp.c index b0943d9e8a0..0578d22cdf2 100644 --- a/usr.sbin/ntpd/ntp.c +++ b/usr.sbin/ntpd/ntp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp.c,v 1.81 2006/06/01 06:04:15 otto Exp $ */ +/* $OpenBSD: ntp.c,v 1.82 2006/06/02 20:45:34 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -442,7 +442,7 @@ priv_adjtime(void) TAILQ_FOREACH(s, &conf->ntp_sensors, entry) { if (!s->update.good) continue; - offset_cnt += p->weight; + offset_cnt += s->weight; } if ((offsets = calloc(offset_cnt, sizeof(struct ntp_offset *))) == NULL) |