Browse Source

fix an error message

OPENBSD_3_7
henning 20 years ago
parent
commit
356208894f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/client.c

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

@ -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> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -47,7 +47,7 @@ int
client_peer_init(struct ntp_peer *p) client_peer_init(struct ntp_peer *p)
{ {
if ((p->query = calloc(1, sizeof(struct ntp_query))) == NULL) 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->fd = -1;
p->query->msg.status = MODE_CLIENT | (NTP_VERSION << 3); p->query->msg.status = MODE_CLIENT | (NTP_VERSION << 3);
p->state = STATE_NONE; p->state = STATE_NONE;


Loading…
Cancel
Save