journald: upgrade log message about missing mmap() support to LOG_ERR

in this case we really cannot proceed and fail. Let's log about this
loudly, since we simply fail the operation to write anything.
This commit is contained in:
Lennart Poettering 2023-02-27 15:42:59 +01:00
parent ab84a03fda
commit 8253cb35fa

View file

@ -890,7 +890,7 @@ static bool shall_try_append_again(JournalFile *f, int r) {
return true;
case -EAFNOSUPPORT:
log_ratelimit_warning(JOURNAL_LOG_RATELIMIT, "%s: Underlying file system does not support memory mapping or another required file system feature.", f->path);
log_ratelimit_error(JOURNAL_LOG_RATELIMIT, "%s: Underlying file system does not support memory mapping or another required file system feature.", f->path);
return false;
default: