Browse Source

fix a function name in an error message

why this was rotting in my tree for so long, I dunno - and I dunno where it
came from
OPENBSD_3_8
henning 19 years ago
parent
commit
015104437f
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.63 2005/07/11 08:05:34 dtucker Exp $ */
/* $OpenBSD: ntp.c,v 1.64 2005/07/15 03:34:52 henning Exp $ */
/* /*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -405,7 +405,7 @@ priv_adjtime(void)
} }
if ((peers = calloc(offset_cnt, sizeof(struct ntp_peer *))) == NULL) if ((peers = calloc(offset_cnt, sizeof(struct ntp_peer *))) == NULL)
fatal("calloc ntp_adjtime");
fatal("calloc priv_adjtime");
TAILQ_FOREACH(p, &conf->ntp_peers, entry) { TAILQ_FOREACH(p, &conf->ntp_peers, entry) {
if (p->trustlevel < TRUSTLEVEL_BADPEER) if (p->trustlevel < TRUSTLEVEL_BADPEER)


Loading…
Cancel
Save