X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ferror.h;h=d072b00c804cb129b0b87b47410d43b75ade6499;hp=e0cb1583e4cbf4270605238cfdd35ae0284e271b;hb=017429025b3f27b7fdbd931a30f310869479f66e;hpb=04034d1547e93c5a127438ae803efa740568ba66 diff --git a/src/common/error.h b/src/common/error.h index e0cb1583e..d072b00c8 100644 --- a/src/common/error.h +++ b/src/common/error.h @@ -85,9 +85,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);