Module Name: src
Committed By: cegger
Date: Wed Nov 24 14:49:18 UTC 2010
Modified Files:
src/sys/kern: uipc_mbuf.c
Log Message:
No need to print '0x' twice in the printing of
the mbuf flags via 'show mbuf'
To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/kern/uipc_mbuf.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/kern/uipc_mbuf.c
diff -u src/sys/kern/uipc_mbuf.c:1.137 src/sys/kern/uipc_mbuf.c:1.138
--- src/sys/kern/uipc_mbuf.c:1.137 Thu Oct 28 14:21:50 2010
+++ src/sys/kern/uipc_mbuf.c Wed Nov 24 14:49:18 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: uipc_mbuf.c,v 1.137 2010/10/28 14:21:50 seanb Exp $ */
+/* $NetBSD: uipc_mbuf.c,v 1.138 2010/11/24 14:49:18 cegger 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.137 2010/10/28 14:21:50 seanb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.138 2010/11/24 14:49:18 cegger Exp $");
#include "opt_mbuftrace.h"
#include "opt_nmbclusters.h"
@@ -1600,7 +1600,7 @@
nextchain:
(*pr)("MBUF %p\n", m);
snprintb(buf, sizeof(buf), M_FLAGS_BITS, (u_int)m->m_flags);
- (*pr)(" data=%p, len=%d, type=%d, flags=0x%s\n",
+ (*pr)(" data=%p, len=%d, type=%d, flags=%s\n",
m->m_data, m->m_len, m->m_type, buf);
(*pr)(" owner=%p, next=%p, nextpkt=%p\n", m->m_owner, m->m_next,
m->m_nextpkt);