summaryrefslogtreecommitdiff
path: root/src/oom
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-08-10 19:26:42 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-08-10 22:15:52 +0900
commitb6f6df4cb07ebf736f0f4b60a845049306088797 (patch)
treec8c447ab21fda65718d6559f52c805f801c0bc99 /src/oom
parent6a941db798e3c5d896f6732afb4e6e482d708900 (diff)
downloadsystemd-b6f6df4cb07ebf736f0f4b60a845049306088797.tar.gz
oom: drop invalid %m in the log message
Fixes https://github.com/systemd/systemd/issues/23785#issuecomment-1210030100.
Diffstat (limited to 'src/oom')
-rw-r--r--src/oom/oomd-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oom/oomd-manager.c b/src/oom/oomd-manager.c
index a28e97a178..e49eef6577 100644
--- a/src/oom/oomd-manager.c
+++ b/src/oom/oomd-manager.c
@@ -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;
}