summaryrefslogtreecommitdiffstats
path: root/src/oom/oomd-util.c
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2021-01-26 08:56:23 +0100
committerAnita Zhang <the.anitazha@gmail.com>2021-02-09 10:23:58 +0100
commite303833355bd786a5c3e54e39d3a96488142386d (patch)
tree7d593ec077d214b24e5426184a53fb76d7f3437d /src/oom/oomd-util.c
parenthwdb: add axis overrides for the Dell Latitude E5510 TouchPad (#18493) (diff)
downloadsystemd-e303833355bd786a5c3e54e39d3a96488142386d.tar.xz
systemd-e303833355bd786a5c3e54e39d3a96488142386d.zip
oom: shorten xattr name
Diffstat (limited to 'src/oom/oomd-util.c')
-rw-r--r--src/oom/oomd-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oom/oomd-util.c b/src/oom/oomd-util.c
index fcccddb92e..80b9583440 100644
--- a/src/oom/oomd-util.c
+++ b/src/oom/oomd-util.c
@@ -201,9 +201,9 @@ int oomd_cgroup_kill(const char *path, bool recurse, bool dry_run) {
if (r < 0)
return r;
- r = increment_oomd_xattr(path, "user.systemd_oomd_kill", set_size(pids_killed));
+ r = increment_oomd_xattr(path, "user.oomd_kill", set_size(pids_killed));
if (r < 0)
- log_debug_errno(r, "Failed to set user.systemd_oomd_kill on kill: %m");
+ log_debug_errno(r, "Failed to set user.oomd_kill on kill: %m");
return set_size(pids_killed) != 0;
}