summaryrefslogtreecommitdiff
path: root/sys/netinet6
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
parentd7939461d738f1d4cfe45e383c7ead92d863450a (diff)
format string fixes: size_t and uint16_t
ok bluhm@
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6_forward.c4
-rw-r--r--sys/netinet6/ip6_output.c4
2 files changed, 4 insertions, 4 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);
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index f405b3162bf..d9a11ce4165 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_output.c,v 1.141 2013/06/26 09:12:40 henning Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.142 2013/07/04 19:10:41 sf Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -232,7 +232,7 @@ ip6_output(struct mbuf *m0, struct ip6_pktopts *opt, struct route_in6 *ro,
if (mtag != NULL) {
#ifdef DIAGNOSTIC
if (mtag->m_tag_len != sizeof (struct tdb_ident))
- panic("ip6_output: tag of length %d (should be %d",
+ panic("ip6_output: tag of length %hu (should be %zu",
mtag->m_tag_len, sizeof (struct tdb_ident));
#endif
tdbi = (struct tdb_ident *)(mtag + 1);