chiark / gitweb /
util: rename write_one_line_file() to write_string_file()
[elogind.git] / src / core / cgroup-attr.c
index 2ab4d4623e1870b9218ebeedba3fb81b56f384d1..7e3e08eabb2e952d2700580bbb7d81ee557f88b3 100644 (file)
@@ -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));