summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-08 19:42:58 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-08 20:35:25 +0200
commit2d76d14ea3682c1c144001449654eb0c6bbda08d (patch)
tree84474b5bcc54d06a05533c9ec510f41bab9f4ba1 /src/shared/cgroup-util.c
parent816f25e86ab690da6e408bc8d5b03dae9cc1b219 (diff)
cgroup: clean-ups
Diffstat (limited to 'src/shared/cgroup-util.c')
-rw-r--r--src/shared/cgroup-util.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c
index 3738ca8eac..c17e1d4d1b 100644
--- a/src/shared/cgroup-util.c
+++ b/src/shared/cgroup-util.c
@@ -697,7 +697,13 @@ int cg_attach(const char *controller, const char *path, pid_t pid) {
return write_string_file(fs, c);
}
-int cg_set_group_access(const char *controller, const char *path, mode_t mode, uid_t uid, gid_t gid) {
+int cg_set_group_access(
+ const char *controller,
+ const char *path,
+ mode_t mode,
+ uid_t uid,
+ gid_t gid) {
+
_cleanup_free_ char *fs = NULL;
int r;