From 216ee1143439b0d050e3df1671d0c54f88919f6c Mon Sep 17 00:00:00 2001 From: henning <> Date: Fri, 2 Jun 2006 20:45:34 +0000 Subject: [PATCH] incredibly stupid typo --- src/usr.sbin/ntpd/ntp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr.sbin/ntpd/ntp.c b/src/usr.sbin/ntpd/ntp.c index b0943d9e..0578d22c 100644 --- a/src/usr.sbin/ntpd/ntp.c +++ b/src/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 @@ -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)