Module Name: src Committed By: christos Date: Wed May 5 02:20:42 UTC 2010
Modified Files: src/sys/kern: kern_malloc.c Log Message: give the name of the dup initialization. To generate a diff of this commit: cvs rdiff -u -r1.130 -r1.131 src/sys/kern/kern_malloc.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/kern_malloc.c diff -u src/sys/kern/kern_malloc.c:1.130 src/sys/kern/kern_malloc.c:1.131 --- src/sys/kern/kern_malloc.c:1.130 Mon Apr 5 04:03:42 2010 +++ src/sys/kern/kern_malloc.c Tue May 4 22:20:42 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_malloc.c,v 1.130 2010/04/05 08:03:42 he Exp $ */ +/* $NetBSD: kern_malloc.c,v 1.131 2010/05/05 02:20:42 christos Exp $ */ /* * Copyright (c) 1987, 1991, 1993 @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_malloc.c,v 1.130 2010/04/05 08:03:42 he Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_malloc.c,v 1.131 2010/05/05 02:20:42 christos Exp $"); #include <sys/param.h> #include <sys/proc.h> @@ -812,7 +812,8 @@ struct malloc_type *ksp; for (ksp = kmemstatistics; ksp != NULL; ksp = ksp->ks_next) { if (ksp == type) - panic("malloc_type_attach: already on list"); + panic("%s: `%s' already on list", __func__, + type->ks_shortdesc); } } #endif