From: Jérémie Galarneau Date: Thu, 19 May 2016 18:20:08 +0000 (-0400) Subject: Rename lttng_error_type to lttng_error_level X-Git-Tag: v2.7.3~15 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1eb7e4731446efc1891353a6e9c913649449f326;p=lttng-tools.git Rename lttng_error_type to lttng_error_level Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/error.h b/src/common/error.h index 7a4417446..909f7e1aa 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) {