From: Gao feng Date: Fri, 13 Sep 2013 03:17:06 +0000 (+0800) Subject: cgroup: correct the log information X-Git-Tag: v208~144 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=84121bc2ee2b1af811a50bc6974115aba603c806;ds=sidebyside cgroup: correct the log information it should be memory.soft_limit_in_bytes. --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index fba0b2f9d..aee93ba0a 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) {