From 96a213ec5c04e31d5e4a27b84858c14e3a3f7c21 Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 25 Feb 2023 17:36:03 +0100 Subject: [PATCH] libc: Make dbgln() also print a newline in userspace Previously, dbgln() only printed a newline in kernel-space. --- libc/src/stdio.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/src/stdio.cpp b/libc/src/stdio.cpp index 276518a8..96f9422b 100644 --- a/libc/src/stdio.cpp +++ b/libc/src/stdio.cpp @@ -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); }