Module Name:    src
Committed By:   pooka
Date:           Wed May  8 11:08:46 UTC 2013

Modified Files:
        src/sys/kern: uipc_mbuf.c

Log Message:
print more diagnostic info in panic message


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 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.148 src/sys/kern/uipc_mbuf.c:1.149
--- src/sys/kern/uipc_mbuf.c:1.148	Sat Jan 19 00:51:52 2013
+++ src/sys/kern/uipc_mbuf.c	Wed May  8 11:08:45 2013
@@ -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 @@ m_copym0(struct mbuf *m, int off0, int l
 		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;

Reply via email to