diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-02-21 17:58:44 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-02-21 17:58:44 +0000 |
commit | 2670d23c20f98aa0a8a1760709dfa26cb3995ea1 (patch) | |
tree | 02b0389db4b1050a366313b3e64d43deb77292cf | |
parent | 4ef06f696a1bcb69a2911af027e06c5884091471 (diff) |
fix an error message
-rw-r--r-- | usr.sbin/ntpd/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/client.c b/usr.sbin/ntpd/client.c index 4a6bd9d648c..704de0bcf8a 100644 --- a/usr.sbin/ntpd/client.c +++ b/usr.sbin/ntpd/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.56 2005/02/03 10:53:33 dtucker Exp $ */ +/* $OpenBSD: client.c,v 1.57 2005/02/21 17:58:43 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -47,7 +47,7 @@ int client_peer_init(struct ntp_peer *p) { if ((p->query = calloc(1, sizeof(struct ntp_query))) == NULL) - fatal("client_query calloc"); + fatal("client_peer_init calloc"); p->query->fd = -1; p->query->msg.status = MODE_CLIENT | (NTP_VERSION << 3); p->state = STATE_NONE; |