X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Ferror.h;h=89b3363ce1c95d88ef64420ff40222f088222633;hb=1dd891014b3aceae311ceb8a853058f05aa0568d;hp=1ee6e675a5b752eb600c0e2f4d19dc2891fcd6e7;hpb=3b6502fd808f7a9e3ece1be4287dcf0ac8028b15;p=lttng-tools.git diff --git a/src/common/error.h b/src/common/error.h index 1ee6e675a..89b3363ce 100644 --- 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); \ - } 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);