cgroup: correct the log information

it should be memory.soft_limit_in_bytes.
This commit is contained in:
Gao feng 2013-09-13 11:17:06 +08:00 committed by Lennart Poettering
parent 15b4a7548f
commit 84121bc2ee

View file

@ -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) {