diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-11-09 14:14:11 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-01 13:43:33 +0100 |
commit | e224c16d28be738b260d9d15d0503da3febf99de (patch) | |
tree | b6d813997c1913bb2ae24ec49064395fbddd4f06 /src/libutil/logging.hh | |
parent | 05d9442f68ba906ae50c12deab63fc1b9836b149 (diff) |
Macro hygiene
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r-- | src/libutil/logging.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh index cd0cb64c5..ff17056f4 100644 --- a/src/libutil/logging.hh +++ b/src/libutil/logging.hh @@ -178,8 +178,8 @@ extern Verbosity verbosity; /* suppress msgs > this */ lightweight status messages. */ #define logErrorInfo(level, errorInfo...) \ do { \ - if (level <= nix::verbosity) { \ - logger->logEI(level, errorInfo); \ + if ((level) <= nix::verbosity) { \ + logger->logEI((level), errorInfo); \ } \ } while (0) |