Console logs moved to stderr (was to stdout)

This commit is contained in:
Alexander Pevzner
2023-11-01 21:58:15 +03:00
parent 57f13b446f
commit 348c4debca
+1 -1
View File
@@ -59,7 +59,7 @@ log_cleanup (void)
static void
log_flush (void)
{
int rc = write(1, log_buffer, mem_len(log_buffer));
int rc = write(2, log_buffer, mem_len(log_buffer));
(void) rc;
str_trunc(log_buffer);
}