Browse Source

incredibly stupid typo

OPENBSD_4_0
henning 18 years ago
parent
commit
216ee11434
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/ntp.c

+ 2
- 2
src/usr.sbin/ntpd/ntp.c View File

@ -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> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -442,7 +442,7 @@ priv_adjtime(void)
TAILQ_FOREACH(s, &conf->ntp_sensors, entry) { TAILQ_FOREACH(s, &conf->ntp_sensors, entry) {
if (!s->update.good) if (!s->update.good)
continue; continue;
offset_cnt += p->weight;
offset_cnt += s->weight;
} }
if ((offsets = calloc(offset_cnt, sizeof(struct ntp_offset *))) == NULL) if ((offsets = calloc(offset_cnt, sizeof(struct ntp_offset *))) == NULL)


Loading…
Cancel
Save