From 690d3b1385e9b120b74344ec949c2a0f34e2e780 Mon Sep 17 00:00:00 2001 From: icex2 Date: Thu, 15 Aug 2024 11:34:31 +0200 Subject: [PATCH] fix: Default print to stderr and not stdout Allows using stdout for outputting data/result and not mixing it with log messages (by default). --- src/main/core/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/core/boot.c b/src/main/core/boot.c index a3d789a..1c85d4c 100644 --- a/src/main/core/boot.c +++ b/src/main/core/boot.c @@ -23,7 +23,7 @@ static void _core_boot_log_std_msg(const char *module, const char *fmt, ...) va_start(args, fmt); printf("[%s] ", module); - vprintf(fmt, args); + vfprintf(stderr, fmt, args); printf("\n"); va_end(args);