diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-10 12:26:42 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-10 15:15:52 +0200 |
commit | b6f6df4cb07ebf736f0f4b60a845049306088797 (patch) | |
tree | c8c447ab21fda65718d6559f52c805f801c0bc99 /src/oom | |
parent | meson: Test correct efi linker for supported args (diff) | |
download | systemd-b6f6df4cb07ebf736f0f4b60a845049306088797.tar.xz systemd-b6f6df4cb07ebf736f0f4b60a845049306088797.zip |
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.c | 2 |
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; } |