1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2014-11-20 17:22:15 +01:00
parent 81ad72ae89
commit e2526347bd

View file

@ -39,7 +39,7 @@ void __assert(const char* filename,
const char* expression)
{
#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);
#else
fprintf(stderr, "Assertion failure: %s:%lu: %s: %s\n", filename, line,