summaryrefslogtreecommitdiff
path: root/src/basic/cgroup-util.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2017-09-05 19:27:53 +0200
committerSven Eden <yamakuzure@gmx.net>2017-11-21 07:13:53 +0100
commite89725d34d1d43980147dfd71d80760443a750b5 (patch)
tree428d23a3279786c6fdf2303061bf81d95aec40c2 /src/basic/cgroup-util.c
parenta2026f4227e4216ed06a882d8e5445275cf548d9 (diff)
cgroup, unit, fragment parser: make use of new firewall functions
Diffstat (limited to 'src/basic/cgroup-util.c')
-rw-r--r--src/basic/cgroup-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c
index 83fd7e5f8..a991f29da 100644
--- a/src/basic/cgroup-util.c
+++ b/src/basic/cgroup-util.c
@@ -1007,7 +1007,7 @@ int cg_get_xattr(const char *controller, const char *path, const char *name, voi
int cg_pid_get_path(const char *controller, pid_t pid, char **path) {
_cleanup_fclose_ FILE *f = NULL;
char line[LINE_MAX];
- const char *fs, *controller_str;
+ const char *fs, *controller_str = NULL;
size_t cs = 0;
int unified;