projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: do not print error and bug messages when quiet (-q) is present
[lttng-tools.git]
/
src
/
common
/
error.h
diff --git
a/src/common/error.h
b/src/common/error.h
index 1ee6e675a5b752eb600c0e2f4d19dc2891fcd6e7..89b3363ce1c95d88ef64420ff40222f088222633 100644
(file)
--- a/
src/common/error.h
+++ b/
src/common/error.h
@@
-80,9
+80,8
@@
extern int lttng_opt_mi;
((type & (PRINT_DBG | PRINT_DBG2 | PRINT_DBG3)) && \
lttng_opt_verbose == 3))) { \
fprintf(stderr, fmt, ## args); \
((type & (PRINT_DBG | PRINT_DBG2 | PRINT_DBG3)) && \
lttng_opt_verbose == 3))) { \
fprintf(stderr, fmt, ## args); \
- } else if (lttng_opt_quiet == 0 && (type & (PRINT_WARN))) { \
- fprintf(stderr, fmt, ## args); \
- } else if (type & (PRINT_ERR | PRINT_BUG)) { \
+ } else if (lttng_opt_quiet == 0 && \
+ (type & (PRINT_WARN | PRINT_ERR | PRINT_BUG))) { \
fprintf(stderr, fmt, ## args); \
} \
} while (0);
fprintf(stderr, fmt, ## args); \
} \
} while (0);
This page took
0.023361 seconds
and
4
git commands to generate.