Browse Source

ewps...

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

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

@ -1,4 +1,4 @@
/* $OpenBSD: imsg.c,v 1.3 2004/09/15 19:22:55 henning Exp $ */
/* $OpenBSD: imsg.c,v 1.4 2004/09/16 01:02:37 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -98,7 +98,7 @@ imsg_compose(struct imsgbuf *ibuf, int type, u_int32_t peerid, pid_t pid,
struct buf *wbuf;
int n;
if ((wbuf = imsg_create(ibuf, type, peerid, datalen, pid)) == NULL)
if ((wbuf = imsg_create(ibuf, type, peerid, pid, datalen)) == NULL)
return (-1);
if (imsg_add(wbuf, data, datalen) == -1) {


Loading…
Cancel
Save