From 4b62e4ab22c31eba2963856f402a9c2c2e48d9a1 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Mon, 25 Oct 2021 18:24:49 +0900 Subject: [PATCH] assert: use dprintf, not printf, when printing assertion message --- kernel/misc/assert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/misc/assert.c b/kernel/misc/assert.c index 738ce079..2eefcfb0 100644 --- a/kernel/misc/assert.c +++ b/kernel/misc/assert.c @@ -8,7 +8,7 @@ void __assert_failed(const char * file, int line, const char * func, const char * cond) { arch_fatal_prepare(); - printf("%s:%d (%s) Assertion failed: %s\n", file, line, func, cond); + dprintf("%s:%d (%s) Assertion failed: %s\n", file, line, func, cond); arch_dump_traceback(); arch_fatal(); }