Rename lttng_error_type to lttng_error_level
[lttng-tools.git] / src / common / error.h
index 29c6833a9f90cd63500b94e68741987c0534181f..63816ac6d8c6ffe85c224fc8ca17ee43c232aad8 100644 (file)
@@ -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) {
This page took 0.025171 seconds and 4 git commands to generate.