From 2670d23c20f98aa0a8a1760709dfa26cb3995ea1 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Mon, 21 Feb 2005 17:58:44 +0000 Subject: fix an error message --- usr.sbin/ntpd/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 @@ -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; -- cgit v1.2.3