X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ferror.h;h=1ae1c8d3e5a7c6bb591a10612b01ed8256927875;hb=beeba745e560344f29d589d8f27f872b320fd1df;hp=89b3363ce1c95d88ef64420ff40222f088222633;hpb=5266dbf6ca1ab794bddeb50766b4e5f0ff423a3a;p=lttng-tools.git diff --git a/src/common/error.h b/src/common/error.h index 89b3363ce..1ae1c8d3e 100644 --- a/src/common/error.h +++ b/src/common/error.h @@ -52,13 +52,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.