diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2013-09-13 11:17:06 +0800 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-09-13 14:32:14 +0200 |
commit | 84121bc2ee2b1af811a50bc6974115aba603c806 (patch) | |
tree | e5e22ad6f99766bb2614bd3629eae108cb121f88 /src | |
parent | 15b4a7548f2e8f4e5dc0504b1c549edb0c7e0956 (diff) |
cgroup: correct the log information
it should be memory.soft_limit_in_bytes.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c index fba0b2f9de..aee93ba0a8 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -266,7 +266,7 @@ void cgroup_context_apply(CGroupContext *c, CGroupControllerMask mask, const cha sprintf(buf, "%" PRIu64 "\n", c->memory_soft_limit); r = cg_set_attribute("memory", path, "memory.soft_limit_in_bytes", buf); if (r < 0) - log_error("Failed to set memory.limit_in_bytes on %s: %s", path, strerror(-r)); + log_error("Failed to set memory.soft_limit_in_bytes on %s: %s", path, strerror(-r)); } if (mask & CGROUP_DEVICE) { |