Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern KASSERT -> KASSERTMSG
details: https://anonhg.NetBSD.org/src/rev/2be424513c86
branches: trunk
changeset: 781278:2be424513c86
user: matt <matt%NetBSD.org@localhost>
date: Thu Aug 30 02:24:48 2012 +0000
description:
KASSERT -> KASSERTMSG
diffstat:
sys/kern/subr_pcu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r db5804f028d4 -r 2be424513c86 sys/kern/subr_pcu.c
--- a/sys/kern/subr_pcu.c Thu Aug 30 02:24:20 2012 +0000
+++ b/sys/kern/subr_pcu.c Thu Aug 30 02:24:48 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_pcu.c,v 1.11 2012/04/18 13:43:13 yamt Exp $ */
+/* $NetBSD: subr_pcu.c,v 1.12 2012/08/30 02:24:48 matt Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pcu.c,v 1.11 2012/04/18 13:43:13 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pcu.c,v 1.12 2012/08/30 02:24:48 matt Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -89,7 +89,7 @@
u_int id;
/* int s; */
- KASSERT(l == curlwp);
+ KASSERTMSG(l == curlwp, "l %p != curlwp %p", l, curlwp);
if (__predict_true(pcu_inuse == 0)) {
/* PCUs are not in use. */
Home |
Main Index |
Thread Index |
Old Index