Stack trace is already printed to stderr, so have the panic string end up there too. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- common/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/misc.c b/common/misc.c index 7bc92c0f9518..cf92d7a48b38 100644 --- a/common/misc.c +++ b/common/misc.c @@ -285,8 +285,8 @@ BAREBOX_MAGICVAR(global.of.kernel.add_machine_compatible, "Additional machine/bo static void __noreturn do_panic(bool stacktrace, const char *fmt, va_list ap) { - vprintf(fmt, ap); - putchar('\n'); + veprintf(fmt, ap); + eputchar('\n'); if (stacktrace) dump_stack(); -- 2.39.2