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 e9e1bef89c
commit 96a213ec5c
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( pure_cstyle_format(
format, [](char c, void*) { console_write(&c, 1); }, nullptr, ap); format, [](char c, void*) { console_write(&c, 1); }, nullptr, ap);
console_write("\n", 1);
} }