projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: bogus mask on error.h PRINT types
[lttng-tools.git]
/
src
/
common
/
error.h
diff --git
a/src/common/error.h
b/src/common/error.h
index f2a31dfa1389bf5c176b3b9645be2c4600452d43..3ab1d46e7126ebee9e358b6c30544919e2fe4132 100644
(file)
--- a/
src/common/error.h
+++ b/
src/common/error.h
@@
-57,13
+57,13
@@
extern int lttng_opt_verbose;
extern int lttng_opt_mi;
/* Error type. */
extern int lttng_opt_mi;
/* Error type. */
-#define PRINT_ERR
0x1
-#define PRINT_WARN
0x2
-#define PRINT_BUG
0x3
-#define PRINT_MSG
0x4
-#define PRINT_DBG
0x10
-#define PRINT_DBG2
0x20
-#define PRINT_DBG3
0x30
+#define PRINT_ERR
(1 << 0)
+#define PRINT_WARN
(1 << 1)
+#define PRINT_BUG
(1 << 2)
+#define PRINT_MSG
(1 << 3)
+#define PRINT_DBG
(1 << 4)
+#define PRINT_DBG2
(1 << 5)
+#define PRINT_DBG3
(1 << 6)
/*
* Macro for printing message depending on command line option and verbosity.
/*
* Macro for printing message depending on command line option and verbosity.
This page took
0.025101 seconds
and
4
git commands to generate.