Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Make MRT6DEBUG compile on LP64 by using ptrdiff...
details: https://anonhg.NetBSD.org/src/rev/bddbbacb29c5
branches: trunk
changeset: 756647:bddbbacb29c5
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Tue Jul 27 13:59:40 2010 +0000
description:
Make MRT6DEBUG compile on LP64 by using ptrdiff_t printf() format specifier.
diffstat:
sys/netinet6/ip6_mroute.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 1c7f78cbe1ce -r bddbbacb29c5 sys/netinet6/ip6_mroute.c
--- a/sys/netinet6/ip6_mroute.c Tue Jul 27 13:54:19 2010 +0000
+++ b/sys/netinet6/ip6_mroute.c Tue Jul 27 13:59:40 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_mroute.c,v 1.98 2009/09/16 15:23:05 pooka Exp $ */
+/* $NetBSD: ip6_mroute.c,v 1.99 2010/07/27 13:59:40 jakllsch Exp $ */
/* $KAME: ip6_mroute.c,v 1.49 2001/07/25 09:21:18 jinmei Exp $ */
/*
@@ -117,7 +117,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.98 2009/09/16 15:23:05 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.99 2010/07/27 13:59:40 jakllsch Exp $");
#include "opt_inet.h"
#include "opt_mrouting.h"
@@ -1574,7 +1574,7 @@
#ifdef MRT6DEBUG
if (mrt6debug & DEBUG_XMIT)
- log(LOG_DEBUG, "phyint_send on mif %d err %d\n",
+ log(LOG_DEBUG, "phyint_send on mif %td err %d\n",
mifp - mif6table, error);
#endif
splx(s);
@@ -1611,7 +1611,7 @@
error = nd6_output(ifp, ifp, mb_copy, &dst6, NULL);
#ifdef MRT6DEBUG
if (mrt6debug & DEBUG_XMIT)
- log(LOG_DEBUG, "phyint_send on mif %d err %d\n",
+ log(LOG_DEBUG, "phyint_send on mif %td err %d\n",
mifp - mif6table, error);
#endif
} else {
Home |
Main Index |
Thread Index |
Old Index