From e9de0b1d3815967012f8b2d6fec7c5fedb24d101 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Thu, 11 May 2023 19:00:12 +0200 Subject: [PATCH] test: Fix pr_info() when not printing to stdout --- test/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.cpp b/test/test.cpp index 2f22bb3..349151d 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -57,7 +57,7 @@ pr_info(const char *fmt, ...) snprintf(fmtx, sizeof(fmtx), COL_YEL "[ ] - %s%s\n", fmt, COL_RST); else - snprintf(fmtx, sizeof(fmtx), "[ ] - %s", fmt); + snprintf(fmtx, sizeof(fmtx), "[ ] - %s\n", fmt); fmt = fmtx; vprintf(fmt, args);