summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 1b748d9..0ee5361 100644
--- a/src/util.h
+++ b/src/util.h
@@ -23,7 +23,9 @@ extern int verbose;
#define pr_v3(fmt, ...) pr_v(3, fmt, ##__VA_ARGS__)
-#define pr_info(fmt, ...) fprintf(stdout, "%s(): " fmt, \
+#define pr(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__)
+
+#define pr_info(fmt, ...) fprintf(stderr, "INFO:%s(): " fmt, \
__func__, ##__VA_ARGS__)
#define pr_warn(fmt, ...) fprintf(stderr, "\x1b[1m\x1b[33m" \