assert: use dprintf, not printf, when printing assertion message
This commit is contained in:
parent
465c82a5f8
commit
4b62e4ab22
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user