Rename lttng_error_type to lttng_error_level
[lttng-tools.git] / src / common / error.h
index 7a4417446d13f9af7c262b64c1bc8093b9a96b9d..909f7e1aaab9034f988d3cdbc3805fc6ad9ab977 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.023253 seconds and 4 git commands to generate.