aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/spl/spl-err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/spl/spl-err.c b/module/spl/spl-err.c
index 3ee284868..f87e2a394 100644
--- a/module/spl/spl-err.c
+++ b/module/spl/spl-err.c
@@ -44,7 +44,7 @@ vpanic(const char *fmt, va_list ap)
char msg[MAXMSGLEN];
vsnprintf(msg, MAXMSGLEN - 1, fmt, ap);
- panic(msg);
+ panic("%s", msg);
} /* vpanic() */
EXPORT_SYMBOL(vpanic);