summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-04-14 22:40:09 +0000
committerchristos <christos@NetBSD.org>2006-04-14 22:40:09 +0000
commit4d098765d00900bef8229ef0f66453dd1281923a (patch)
tree061576a8f630158dc9589682546a5feb38298ff9 /sys/dev/raidframe
parent3456153a3db08a8f8025d85c8669185761c099a8 (diff)
Turn on RAID KASSERTS if __COVERITY__
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_general.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_general.h b/sys/dev/raidframe/rf_general.h
index d1a5180ecdc..829c3e7653c 100644
--- a/sys/dev/raidframe/rf_general.h
+++ b/sys/dev/raidframe/rf_general.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_general.h,v 1.16 2005/12/11 12:23:37 christos Exp $ */
+/* $NetBSD: rf_general.h,v 1.17 2006/04/14 22:40:09 christos Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -58,7 +58,7 @@ void rf_print_unable_to_add_shutdown(const char *, int, int);
extern char rf_panicbuf[];
#define RF_PANIC() {rf_print_panic_message(__LINE__,__FILE__); panic(rf_panicbuf);}
-#ifdef RAID_DIAGNOSTIC
+#if defined(RAID_DIAGNOSTIC) || defined(__COVERITY__)
#define RF_ASSERT(_x_) { \
if (!(_x_)) { \
rf_print_assert_panic_message(__LINE__, __FILE__, #_x_); \