Date: Thu, 14 Dec 2000 12:51:54 +0200 (SAT) From: John Hay <jhay@icomtek.csir.co.za> To: current@freebsd.org Subject: ipsend and iptest compile error Message-ID: <200012141051.eBEApt877092@zibbi.icomtek.csir.co.za>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012141051.eBEApt877092>