summaryrefslogtreecommitdiff
path: root/lib_generic/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_generic/vsprintf.c')
-rw-r--r--lib_generic/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_generic/vsprintf.c b/lib_generic/vsprintf.c
index d7a7661..b9e6e1b 100644
--- a/lib_generic/vsprintf.c
+++ b/lib_generic/vsprintf.c
@@ -329,7 +329,7 @@ void panic(const char *fmt, ...)
{
va_list args;
va_start(args, fmt);
- printf(fmt);
+ vprintf(fmt, args);
putc('\n');
va_end(args);
#if defined (CONFIG_PANIC_HANG)