aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-10-27 16:17:06 -0700
committerBrian Behlendorf <[email protected]>2009-10-27 16:17:06 -0700
commit2b5adaf18fde25b963a9d21407773544f2cbed6f (patch)
tree2b641c27ea4a1d5fb341341d80eebfafbfdb1fb5 /module
parent4bd577d069985e7b79357cb9744a46b03cdf881b (diff)
I should not have removed these, they are important.
Diffstat (limited to 'module')
-rw-r--r--module/spl/spl-err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/spl/spl-err.c b/module/spl/spl-err.c
index 8f46aae5b..3ee284868 100644
--- a/module/spl/spl-err.c
+++ b/module/spl/spl-err.c
@@ -33,8 +33,10 @@
#define DEBUG_SUBSYSTEM S_GENERIC
+#ifndef NDEBUG
static char ce_prefix[CE_IGNORE][10] = { "", "NOTICE: ", "WARNING: ", "" };
static char ce_suffix[CE_IGNORE][2] = { "", "\n", "\n", "" };
+#endif
void
vpanic(const char *fmt, va_list ap)