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 -- [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message