Subject: Re: HEADS UP: ipf 4.1.5
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Greg A. Woods <woods@weird.com>
List: current-users
Date: 02/09/2005 17:29:29
[ On Tuesday, February 8, 2005 at 09:17:06 (+0200), Martti Kuparinen wrote: ]
> Subject: HEADS UP: ipf 4.1.5
>
> If you detect errors (or have improvements), please send a problem report
> with the send-pr tool.

Perhaps this doesn't require a full send-pr.  This is from an alpha build:


--- ip_proxy.o ---
/work/woods/m-NetBSD-current/sys/dist/ipf/netinet/ip_proxy.c: In function `appr_new':
/work/woods/m-NetBSD-current/sys/dist/ipf/netinet/ip_proxy.c:422: warning: unsigned int format, different type arg (arg 2)



Index: sys/dist/ipf/netinet/ip_proxy.c
===================================================================
RCS file: /cvs/master/m-NetBSD/main/src/sys/dist/ipf/netinet/ip_proxy.c,v
retrieving revision 1.2
diff -u -r1.2 ip_proxy.c
--- sys/dist/ipf/netinet/ip_proxy.c	8 Feb 2005 07:01:55 -0000	1.2
+++ sys/dist/ipf/netinet/ip_proxy.c	9 Feb 2005 22:23:08 -0000
@@ -418,8 +418,8 @@
 	KMALLOC(aps, ap_session_t *);
 	if (!aps) {
 		if (ipf_proxy_debug > 0)
-			printf("appr_new: malloc failed (%u)\n",
-				sizeof(ap_session_t));
+			printf("appr_new: malloc failed (%lu)\n",
+				(u_long) sizeof(ap_session_t));
 		return -1;
 	}
 

-- 
						Greg A. Woods

H:+1 416 218-0098  W:+1 416 489-5852 x122  VE3TCP  RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>