Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec Use %zu for size_t (fix build of 32bit archs)
details: https://anonhg.NetBSD.org/src/rev/f37f103dcd1e
branches: trunk
changeset: 353037:f37f103dcd1e
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Apr 18 10:49:35 2017 +0000
description:
Use %zu for size_t (fix build of 32bit archs)
diffstat:
sys/netipsec/key_debug.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 324672e505f2 -r f37f103dcd1e sys/netipsec/key_debug.c
--- a/sys/netipsec/key_debug.c Tue Apr 18 10:00:26 2017 +0000
+++ b/sys/netipsec/key_debug.c Tue Apr 18 10:49:35 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: key_debug.c,v 1.15 2017/04/18 05:25:32 ozaki-r Exp $ */
+/* $NetBSD: key_debug.c,v 1.16 2017/04/18 10:49:35 ozaki-r Exp $ */
/* $FreeBSD: src/sys/netipsec/key_debug.c,v 1.1.4.1 2003/01/24 05:11:36 sam Exp $ */
/* $KAME: key_debug.c,v 1.26 2001/06/27 10:46:50 sakane Exp $ */
@@ -33,7 +33,7 @@
#ifdef _KERNEL
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key_debug.c,v 1.15 2017/04/18 05:25:32 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key_debug.c,v 1.16 2017/04/18 10:49:35 ozaki-r Exp $");
#endif
#if defined(_KERNEL_OPT)
@@ -624,7 +624,7 @@
if (m->m_flags & M_EXT) {
printf(" m_ext{ ext_buf:%p ext_free:%p "
- "ext_size:%lu ext_refcnt:%u }\n",
+ "ext_size:%zu ext_refcnt:%u }\n",
m->m_ext.ext_buf, m->m_ext.ext_free,
m->m_ext.ext_size, m->m_ext.ext_refcnt);
}
Home |
Main Index |
Thread Index |
Old Index