projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15b4a75
)
cgroup: correct the log information
author
Gao feng
<gaofeng@cn.fujitsu.com>
Fri, 13 Sep 2013 03:17:06 +0000
(11:17 +0800)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 13 Sep 2013 12:32:14 +0000
(14:32 +0200)
it should be memory.soft_limit_in_bytes.
src/core/cgroup.c
patch
|
blob
|
history
diff --git
a/src/core/cgroup.c
b/src/core/cgroup.c
index fba0b2f9de588277df07b482e323a36c044ae177..aee93ba0a8b214ef750359a660a5cbe6ecfd706b 100644
(file)
--- 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) {