test: Fix pr_info() when not printing to stdout

This commit is contained in:
Kim Woelders 2023-05-11 19:00:12 +02:00
parent 3a9084a7e9
commit e9de0b1d38
1 changed files with 1 additions and 1 deletions

View File

@ -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);