summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-09-16 12:33:27 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-09-16 12:33:27 +0000
commit6c726429c71f6dc5875edf0687ec9c70771043e9 (patch)
tree66fa77ead6f781403b09cfeeca1b322132cbabfa /sys/dev/ic
parent077e0b37b207ab0d204744e2ff7c4dbe44d4364e (diff)
Better version of fake KKASSERT until they are changed properly.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/bwi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c
index 246223eca2a..28034c2b5be 100644
--- a/sys/dev/ic/bwi.c
+++ b/sys/dev/ic/bwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwi.c,v 1.32 2007/09/16 12:15:57 mglocker Exp $ */
+/* $OpenBSD: bwi.c,v 1.33 2007/09/16 12:33:26 jsg Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -83,7 +83,7 @@ int bwi_debug = 1;
#endif
/* XXX temporary porting goop */
-#define KKASSERT(cond) if (!(cond)) panic("bwi KKASSERT!\n")
+#define KKASSERT(cond) if (!(cond)) panic("KKASSERT: %s in %s", #cond, __func__)
#undef KASSERT
#define KASSERT(cond, complaint) if (!(cond)) panic complaint