Rename lttng_error_type to lttng_error_level
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 May 2016 18:20:08 +0000 (14:20 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 20:41:37 +0000 (16:41 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.026622 seconds and 4 git commands to generate.