X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ferror.h;h=3ab1d46e7126ebee9e358b6c30544919e2fe4132;hp=f2a31dfa1389bf5c176b3b9645be2c4600452d43;hb=354e78e57049c8cf53af0bc5cf2bfafd753affc4;hpb=566d897083dccb8d1fcec3f4727aee56facd4f25 diff --git a/src/common/error.h b/src/common/error.h index f2a31dfa1..3ab1d46e7 100644 --- a/src/common/error.h +++ b/src/common/error.h @@ -57,13 +57,13 @@ extern int lttng_opt_verbose; extern int lttng_opt_mi; /* Error type. */ -#define PRINT_ERR 0x1 -#define PRINT_WARN 0x2 -#define PRINT_BUG 0x3 -#define PRINT_MSG 0x4 -#define PRINT_DBG 0x10 -#define PRINT_DBG2 0x20 -#define PRINT_DBG3 0x30 +#define PRINT_ERR (1 << 0) +#define PRINT_WARN (1 << 1) +#define PRINT_BUG (1 << 2) +#define PRINT_MSG (1 << 3) +#define PRINT_DBG (1 << 4) +#define PRINT_DBG2 (1 << 5) +#define PRINT_DBG3 (1 << 6) /* * Macro for printing message depending on command line option and verbosity.