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:13:00 +0000 (16:13 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.025931 seconds and 4 git commands to generate.