From owner-freebsd-current Thu Dec 14 2:52:17 2000 From owner-freebsd-current@FreeBSD.ORG Thu Dec 14 02:52:16 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 2AFAF37B400 for ; Thu, 14 Dec 2000 02:52:09 -0800 (PST) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.0/8.11.0) id eBEApt877092 for current@freebsd.org; Thu, 14 Dec 2000 12:51:55 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200012141051.eBEApt877092@zibbi.icomtek.csir.co.za> Subject: ipsend and iptest compile error To: current@freebsd.org Date: Thu, 14 Dec 2000 12:51:54 +0200 (SAT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: jhay@zibbi.icomtek.csir.co.za Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The struct kinfo_proc changes breaks compiling ipsend and iptest. This patch fix the compile problem, but I don't know if it is the correct fix. Anybody care to comment? With this at least "make world" finished without a problem. John -- John Hay -- John.Hay@icomtek.csir.co.za Index: contrib/ipfilter/ipsend/sock.c =================================================================== RCS file: /home/ncvs/src/contrib/ipfilter/ipsend/sock.c,v retrieving revision 1.3 diff -u -r1.3 sock.c --- contrib/ipfilter/ipsend/sock.c 2000/02/10 03:17:46 1.3 +++ contrib/ipfilter/ipsend/sock.c 2000/12/14 10:40:42 @@ -283,10 +283,10 @@ return NULL; fd = (struct filedesc *)malloc(sizeof(*fd)); - if (KMCPY(fd, p->kp_proc.p_fd, sizeof(*fd)) == -1) + if (KMCPY(fd, p->ki_fd, sizeof(*fd)) == -1) { fprintf(stderr, "read(%#lx,%#lx) failed\n", - (u_long)p, (u_long)p->kp_proc.p_fd); + (u_long)p, (u_long)p->ki_fd); return NULL; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message