chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: read "debug" from kernel commandline and set log level
[elogind.git]
/
src
/
core
/
cgroup-attr.c
diff --git
a/src/core/cgroup-attr.c
b/src/core/cgroup-attr.c
index 2ab4d4623e1870b9218ebeedba3fb81b56f384d1..7e3e08eabb2e952d2700580bbb7d81ee557f88b3 100644
(file)
--- a/
src/core/cgroup-attr.c
+++ b/
src/core/cgroup-attr.c
@@
-44,7
+44,7
@@
int cgroup_attribute_apply(CGroupAttribute *a, CGroupBonding *b) {
if (r < 0)
return r;
- r = write_
one_line
_file(path, v ? v : a->value);
+ r = write_
string
_file(path, v ? v : a->value);
if (r < 0)
log_warning("Failed to write '%s' to %s: %s", v ? v : a->value, path, strerror(-r));