aboutsummaryrefslogtreecommitdiffstats
path: root/community/elogind/reverse_DISABLE_BUFFER_in_cg_attach.patch
blob: b9017dcc01e1ae0a9358c1f76719d91df12c5464 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c
index 9235361b6..11102790e 100644
--- a/src/basic/cgroup-util.c
+++ b/src/basic/cgroup-util.c
@@ -824,7 +824,7 @@ int cg_attach(const char *controller, const char *path, pid_t pid) {
 
         xsprintf(c, PID_FMT "\n", pid);
 
-        r = write_string_file(fs, c, WRITE_STRING_FILE_DISABLE_BUFFER);
+        r = write_string_file(fs, c, 0);
         if (r < 0)
                 return r;