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.
This commit is contained in:
@@ -1263,7 +1263,7 @@ int show_journal_by_unit(
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user