mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix assertion failure panic message ending with a newline.
This commit is contained in:
parent
81ad72ae89
commit
e2526347bd
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ void __assert(const char* filename,
|
||||||
const char* expression)
|
const char* expression)
|
||||||
{
|
{
|
||||||
#if defined(__is_sortix_kernel)
|
#if defined(__is_sortix_kernel)
|
||||||
Sortix::PanicF("Assertion failure: %s:%lu: %s: %s\n", filename, line,
|
Sortix::PanicF("Assertion failure: %s:%lu: %s: %s", filename, line,
|
||||||
function_name, expression);
|
function_name, expression);
|
||||||
#else
|
#else
|
||||||
fprintf(stderr, "Assertion failure: %s:%lu: %s: %s\n", filename, line,
|
fprintf(stderr, "Assertion failure: %s:%lu: %s: %s\n", filename, line,
|
||||||
|
|
Loading…
Add table
Reference in a new issue