projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename lttng_error_type to lttng_error_level
[lttng-tools.git]
/
src
/
common
/
error.h
diff --git
a/src/common/error.h
b/src/common/error.h
index 7a4417446d13f9af7c262b64c1bc8093b9a96b9d..909f7e1aaab9034f988d3cdbc3805fc6ad9ab977 100644
(file)
--- 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. */
extern int lttng_opt_mi;
/* Error type. */
-enum lttng_error_
type
{
+enum lttng_error_
level
{
PRINT_ERR = 0,
PRINT_BUG = 1,
PRINT_WARN = 2,
PRINT_ERR = 0,
PRINT_BUG = 1,
PRINT_WARN = 2,
@@
-63,7
+63,7
@@
enum lttng_error_type {
PRINT_DBG3 = 6,
};
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) {
{
/* lttng_opt_mi and lttng_opt_quiet. */
switch (type) {
This page took
0.023184 seconds
and
4
git commands to generate.