diff --git a/module/spl/spl-err.c b/module/spl/spl-err.c index 3ee284868f..f87e2a3947 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);