summaryrefslogtreecommitdiffstats
path: root/module/spl/spl-err.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/spl/spl-err.c')
-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)