X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Ferror.h;fp=src%2Fcommon%2Ferror.h;h=63816ac6d8c6ffe85c224fc8ca17ee43c232aad8;hb=0f16c2144ae2c44bb1157cbe3f73fade91cc37a2;hp=29c6833a9f90cd63500b94e68741987c0534181f;hpb=41d165c8049c4d02e6347e2172efdd29139e338c;p=lttng-tools.git diff --git a/src/common/error.h b/src/common/error.h index 29c6833a9..63816ac6d 100644 --- a/src/common/error.h +++ b/src/common/error.h @@ -53,7 +53,7 @@ extern int lttng_opt_verbose; extern int lttng_opt_mi; /* Error type. */ -enum lttng_error_type { +enum lttng_error_level { PRINT_ERR = 0, PRINT_BUG = 1, PRINT_WARN = 2, @@ -63,7 +63,7 @@ enum lttng_error_type { PRINT_DBG3 = 6, }; -static inline bool __lttng_print_check_opt(enum lttng_error_type type) +static inline bool __lttng_print_check_opt(enum lttng_error_level type) { /* lttng_opt_mi and lttng_opt_quiet. */ switch (type) {