Skip to content

Commit

Permalink
cgroup: make monitor_pattern const
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Sep 27, 2018
1 parent 529822a commit 4394ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/cgroups/cgroup.h
Expand Up @@ -102,7 +102,7 @@ struct cgroup_ops {
char *container_cgroup;

/* Static memory, do not free.*/
char *monitor_pattern;
const char *monitor_pattern;

/* @hierarchies
* - A NULL-terminated array of struct hierarchy, one per legacy
Expand Down

0 comments on commit 4394ea1

Please sign in to comment.