summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2018-02-18 22:51:17 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2018-02-18 22:51:17 +0100
commit04df7fcc6d0f75bdf14fd87bcac9d609188e8675 (patch)
tree1cd9db33edf3004569766c4a24477cac9f752569 /src
parent6ca112a54bd7b33d389abb28f9aa45799f2d5f26 (diff)
utils.h: Introduce new verbosity level: MSG_WARNING.
Diffstat (limited to 'src')
-rw-r--r--src/utils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h
index 328769d..586a7f3 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -40,8 +40,9 @@ void adjust_verbosity(int adj);
#define MSG_DEBUG 1
#define MSG_QUIET -1
/* Verbosity levels using stderr */
-#define MSG_ERROR -2
-#define MSG_CRITICAL -3
+#define MSG_WARNING -2
+#define MSG_ERROR -3
+#define MSG_CRITICAL -4
/* Prints messages to console according to the current verbosity */
int msg(int level, const char *fmt, ...);