summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_forward.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2013-07-04 19:10:42 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2013-07-04 19:10:42 +0000
commit10d918317ccdb4fbd63a076e20208a71c86559dd (patch)
treecedb1a8aeea9ad2961e883c0228d97d6d5a9ed7b /sys/netinet6/ip6_forward.c
parentd7939461d738f1d4cfe45e383c7ead92d863450a (diff)
format string fixes: size_t and uint16_t
ok bluhm@
Diffstat (limited to 'sys/netinet6/ip6_forward.c')
-rw-r--r--sys/netinet6/ip6_forward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c
index 6d7f9712840..4e2e45918da 100644
--- a/sys/netinet6/ip6_forward.c
+++ b/sys/netinet6/ip6_forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_forward.c,v 1.59 2013/06/26 09:12:40 henning Exp $ */
+/* $OpenBSD: ip6_forward.c,v 1.60 2013/07/04 19:10:41 sf Exp $ */
/* $KAME: ip6_forward.c,v 1.75 2001/06/29 12:42:13 jinmei Exp $ */
/*
@@ -160,7 +160,7 @@ reroute:
if (mtag != NULL) {
#ifdef DIAGNOSTIC
if (mtag->m_tag_len != sizeof (struct tdb_ident))
- panic("ip6_forward: tag of length %d (should be %d",
+ panic("ip6_forward: tag of length %hu (should be %zu",
mtag->m_tag_len, sizeof (struct tdb_ident));
#endif
tdbi = (struct tdb_ident *)(mtag + 1);