Merge pull request #24271 from yuwata/oom-log-message-m

oom: drop invalid %m in the log message
This commit is contained in:
Anita Zhang 2022-08-10 11:02:28 -07:00 committed by GitHub
commit 2ef59656b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ static int process_managed_oom_message(Manager *m, uid_t uid, JsonVariant *param
r = cg_path_get_owner_uid(message.path, &cg_uid);
if (r < 0) {
log_debug("Failed to get cgroup %s owner uid: %m", message.path);
log_debug_errno(r, "Failed to get cgroup %s owner uid: %m", message.path);
continue;
}