libc: Make dbgln() also print a newline in userspace

Previously, dbgln() only printed a newline in kernel-space.
This commit is contained in:
apio 2023-02-25 17:36:03 +01:00
parent 794567327f
commit 03ed2c3e12
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -84,4 +84,5 @@ void debug_log_impl(const char* format, va_list ap)
{
pure_cstyle_format(
format, [](char c, void*) { console_write(&c, 1); }, nullptr, ap);
console_write("\n", 1);
}