summaryrefslogtreecommitdiff
path: root/src/core/cgroup.c
diff options
context:
space:
mode:
authorGao feng <gaofeng@cn.fujitsu.com>2013-09-13 11:17:06 +0800
committerLennart Poettering <lennart@poettering.net>2013-09-13 14:32:14 +0200
commit84121bc2ee2b1af811a50bc6974115aba603c806 (patch)
treee5e22ad6f99766bb2614bd3629eae108cb121f88 /src/core/cgroup.c
parent15b4a7548f2e8f4e5dc0504b1c549edb0c7e0956 (diff)
cgroup: correct the log information
it should be memory.soft_limit_in_bytes.
Diffstat (limited to 'src/core/cgroup.c')
-rw-r--r--src/core/cgroup.c2
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) {