diff options
Diffstat (limited to 'module/spl/spl-err.c')
-rw-r--r-- | module/spl/spl-err.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/spl/spl-err.c b/module/spl/spl-err.c index 1d5202827..1b059f0c8 100644 --- a/module/spl/spl-err.c +++ b/module/spl/spl-err.c @@ -26,6 +26,7 @@ #include <sys/sysmacros.h> #include <sys/cmn_err.h> +#include <spl-debug.h> #ifdef DEBUG_SUBSYSTEM #undef DEBUG_SUBSYSTEM @@ -44,7 +45,7 @@ vpanic(const char *fmt, va_list ap) char msg[MAXMSGLEN]; vsnprintf(msg, MAXMSGLEN - 1, fmt, ap); - panic("%s", msg); + PANIC("%s", msg); } /* vpanic() */ EXPORT_SYMBOL(vpanic); |