Created
April 5, 2019 06:51
-
-
Save Yamakuzure/502c0b0df770db50de24f635250cc4f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment