summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-07-15 03:34:53 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-07-15 03:34:53 +0000
commit583b6e302eea104b6ce2ba0ad525c9a986dc3866 (patch)
treecdcb4aa4e669dec7ba2a020d093112bdea369784
parent0dddffa90293573114459a7cea724986d561ecb8 (diff)
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
-rw-r--r--usr.sbin/ntpd/ntp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntp.c b/usr.sbin/ntpd/ntp.c
index 7fcc5c640b0..344f481dcdb 100644
--- a/usr.sbin/ntpd/ntp.c
+++ b/usr.sbin/ntpd/ntp.c
@@ -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>
@@ -405,7 +405,7 @@ priv_adjtime(void)
}
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) {
if (p->trustlevel < TRUSTLEVEL_BADPEER)