Remove extra 0x in m_print().

This commit is contained in:
msaitoh 2017-03-31 05:44:05 +00:00
parent d35df4a96d
commit 913e06bbd4

View File

@ -1,4 +1,4 @@
/* $NetBSD: uipc_mbuf.c,v 1.171 2017/03/14 09:03:08 ozaki-r Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.172 2017/03/31 05:44:05 msaitoh Exp $ */
/*-
* Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.171 2017/03/14 09:03:08 ozaki-r Exp $");
__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.172 2017/03/31 05:44:05 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_mbuftrace.h"
@ -1759,7 +1759,7 @@ nextchain:
(int)M_READONLY(m));
if ((m->m_flags & M_PKTHDR) != 0) {
snprintb(buf, sizeof(buf), M_CSUM_BITS, m->m_pkthdr.csum_flags);
(*pr)(" pktlen=%d, rcvif=%p, csum_flags=0x%s, csum_data=0x%"
(*pr)(" pktlen=%d, rcvif=%p, csum_flags=%s, csum_data=0x%"
PRIx32 ", segsz=%u\n",
m->m_pkthdr.len, m_get_rcvif_NOMPSAFE(m),
buf, m->m_pkthdr.csum_data, m->m_pkthdr.segsz);