Source-Changes-HG archive

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

[src/trunk]: src/sys/kern print more diagnostic info in panic message



details:   https://anonhg.NetBSD.org/src/rev/e44f53027864
branches:  trunk
changeset: 786744:e44f53027864
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed May 08 11:08:45 2013 +0000

description:
print more diagnostic info in panic message

diffstat:

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

diffs (27 lines):

diff -r 0398eef8e2c7 -r e44f53027864 sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c      Wed May 08 10:39:17 2013 +0000
+++ b/sys/kern/uipc_mbuf.c      Wed May 08 11:08:45 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_mbuf.c,v 1.148 2013/01/19 00:51:52 rmind Exp $    */
+/*     $NetBSD: uipc_mbuf.c,v 1.149 2013/05/08 11:08:45 pooka 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.148 2013/01/19 00:51:52 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.149 2013/05/08 11:08:45 pooka Exp $");
 
 #include "opt_mbuftrace.h"
 #include "opt_nmbclusters.h"
@@ -706,7 +706,7 @@
                off += n->m_len;
 #ifdef DIAGNOSTIC
                if (off > m->m_len)
-                       panic("m_copym0 overrun");
+                       panic("m_copym0 overrun %d %d", off, m->m_len);
 #endif
                if (off == m->m_len) {
                        m = m->m_next;



Home | Main Index | Thread Index | Old Index