diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-01-06 00:29:40 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-01-06 00:29:40 -0500 |
commit | 553d2243e2a42783b8bb94addfb752b802c23311 (patch) | |
tree | 89abe0414a704ea4e9558d44be42eed7d7cfb107 /src/journal | |
parent | 5dabb1e04e4521abf040e77a8322b70e7acdc7b0 (diff) |
tree-wide: remove unnecessary LOG_PRI
LOG_DEBUG is already a log level, there is no need to use LOG_PRI which
is for filtering out the facility.
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/coredumpctl.c | 2 | ||||
-rw-r--r-- | src/journal/journalctl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c index 756e793a4f..afb39ad035 100644 --- a/src/journal/coredumpctl.c +++ b/src/journal/coredumpctl.c @@ -822,7 +822,7 @@ int main(int argc, char *argv[]) { } } - if (_unlikely_(log_get_max_level() >= LOG_PRI(LOG_DEBUG))) { + if (_unlikely_(log_get_max_level() >= LOG_DEBUG)) { _cleanup_free_ char *filter; filter = journal_make_match_string(j); diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index c91f2cf938..386e3505c0 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -1875,7 +1875,7 @@ int main(int argc, char *argv[]) { return EXIT_FAILURE; } - if (_unlikely_(log_get_max_level() >= LOG_PRI(LOG_DEBUG))) { + if (_unlikely_(log_get_max_level() >= LOG_DEBUG)) { _cleanup_free_ char *filter; filter = journal_make_match_string(j); |