mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
oom: drop invalid %m in the log message
Fixes https://github.com/systemd/systemd/issues/23785#issuecomment-1210030100.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user