Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Remove extra 0x in m_print().



details:   https://anonhg.NetBSD.org/src/rev/7c6fb878cb2c
branches:  trunk
changeset: 352419:7c6fb878cb2c
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Mar 31 05:44:05 2017 +0000

description:
Remove extra 0x in m_print().

diffstat:

 sys/kern/uipc_mbuf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9c0b04db0560 -r 7c6fb878cb2c sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c      Thu Mar 30 23:13:54 2017 +0000
+++ b/sys/kern/uipc_mbuf.c      Fri Mar 31 05:44:05 2017 +0000
@@ -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 @@
            (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);



Home | Main Index | Thread Index | Old Index