diff options
author | s-over-4 | 2023-06-16 00:56:35 -0400 |
---|---|---|
committer | s-over-4 | 2023-06-16 00:56:35 -0400 |
commit | cd42ebee104483235d4ad0da9f06cbc381443f44 (patch) | |
tree | ee0136d2460762e5d8a8c657ef7ba86b0f6b607f /src | |
parent | e398038b94efc2144bb6941f5e95e6557b8ac7f4 (diff) |
added some tests, will find a better way to do this in the future :P
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,19 +16,19 @@ void die(const char* fmt, ...) { void log_inf(const char* fmt, ...) { va_list ap; - fprintf(stderr, "[\e[34m==\e[0m] "); + fprintf(stdout, "[\e[34m==\e[0m] "); va_start(ap, fmt); - vfprintf(stderr, fmt, ap); + vfprintf(stdout, fmt, ap); va_end(ap); - fprintf(stderr, "\n"); + fprintf(stdout, "\n"); } void log_raw(const char* fmt, ...) { va_list ap; va_start(ap, fmt); - vfprintf(stderr, fmt, ap); + vfprintf(stdout, fmt, ap); va_end(ap); } |