Module Name:    src
Committed By:   cegger
Date:           Thu Aug 13 09:04:03 UTC 2009

Modified Files:
        src/sys/netinet6: in6_ifattach.c

Log Message:
buildfix: if_indexlim is of type size_t


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/netinet6/in6_ifattach.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet6/in6_ifattach.c
diff -u src/sys/netinet6/in6_ifattach.c:1.83 src/sys/netinet6/in6_ifattach.c:1.84
--- src/sys/netinet6/in6_ifattach.c:1.83	Thu Aug 13 00:34:04 2009
+++ src/sys/netinet6/in6_ifattach.c	Thu Aug 13 09:04:03 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: in6_ifattach.c,v 1.83 2009/08/13 00:34:04 dyoung Exp $	*/
+/*	$NetBSD: in6_ifattach.c,v 1.84 2009/08/13 09:04:03 cegger Exp $	*/
 /*	$KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $	*/
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_ifattach.c,v 1.83 2009/08/13 00:34:04 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_ifattach.c,v 1.84 2009/08/13 09:04:03 cegger Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -899,7 +899,7 @@
 	if (ifindex2ifnet == NULL)
 		printf("%s: no ifindices in use\n", __func__);
 	else if (ifindex >= if_indexlim) {
-		printf("%s: ifindex %d >= limit %d\n", __func__, ifindex,
+		printf("%s: ifindex %d >= limit %zu\n", __func__, ifindex,
 		    if_indexlim);
 	} else if ((ifp = ifindex2ifnet[ifindex]) == NULL)
 		printf("%s: ifindex %d not in use\n", __func__, ifindex);

Reply via email to