diff options
author | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2018-02-18 22:51:17 +0100 |
---|---|---|
committer | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2018-02-18 22:51:17 +0100 |
commit | 04df7fcc6d0f75bdf14fd87bcac9d609188e8675 (patch) | |
tree | 1cd9db33edf3004569766c4a24477cac9f752569 /src | |
parent | 6ca112a54bd7b33d389abb28f9aa45799f2d5f26 (diff) |
utils.h: Introduce new verbosity level: MSG_WARNING.
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.h | 5 |
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, ...); |