Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Tell where the corrruption was encountered in the p...



details:   https://anonhg.NetBSD.org/src/rev/bf0620c7fce5
branches:  trunk
changeset: 327445:bf0620c7fce5
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Mar 07 16:36:32 2014 +0000

description:
Tell where the corrruption was encountered in the panic message.

diffstat:

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

diffs (27 lines):

diff -r c7fe50b0b8fb -r bf0620c7fce5 sys/kern/subr_lockdebug.c
--- a/sys/kern/subr_lockdebug.c Fri Mar 07 16:23:42 2014 +0000
+++ b/sys/kern/subr_lockdebug.c Fri Mar 07 16:36:32 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_lockdebug.c,v 1.50 2013/10/12 16:42:27 christos Exp $     */
+/*     $NetBSD: subr_lockdebug.c,v 1.51 2014/03/07 16:36:32 matt Exp $ */
 
 /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_lockdebug.c,v 1.50 2013/10/12 16:42:27 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_lockdebug.c,v 1.51 2014/03/07 16:36:32 matt Exp $");
 
 #include "opt_ddb.h"
 
@@ -284,7 +284,7 @@
        ci->ci_lkdebug_recurse--;
 
        if (ld->ld_lock != NULL) {
-               panic("lockdebug_alloc: corrupt table");
+               panic("lockdebug_alloc: corrupt table ld %p", ld);
        }
 
        /* Initialise the structure. */



Home | Main Index | Thread Index | Old Index