Module Name:    src
Committed By:   matt
Date:           Fri Mar  7 16:36:32 UTC 2014

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

Log Message:
Tell where the corrruption was encountered in the panic message.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/kern/subr_lockdebug.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/subr_lockdebug.c
diff -u src/sys/kern/subr_lockdebug.c:1.50 src/sys/kern/subr_lockdebug.c:1.51
--- src/sys/kern/subr_lockdebug.c:1.50	Sat Oct 12 16:42:27 2013
+++ src/sys/kern/subr_lockdebug.c	Fri Mar  7 16:36:32 2014
@@ -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 @@ lockdebug_alloc(volatile void *lock, loc
 	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. */

Reply via email to