Module Name: src Committed By: ozaki-r Date: Tue Apr 18 10:49:35 UTC 2017
Modified Files: src/sys/netipsec: key_debug.c Log Message: Use %zu for size_t (fix build of 32bit archs) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/netipsec/key_debug.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/netipsec/key_debug.c diff -u src/sys/netipsec/key_debug.c:1.15 src/sys/netipsec/key_debug.c:1.16 --- src/sys/netipsec/key_debug.c:1.15 Tue Apr 18 05:25:32 2017 +++ src/sys/netipsec/key_debug.c Tue Apr 18 10:49:35 2017 @@ -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 @@ kdebug_mbufhdr(const struct mbuf *m) 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); }