summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index 36fa11e..dfee471 100644
--- a/src/config.c
+++ b/src/config.c
@@ -70,7 +70,7 @@ int cgroup_table_index;
/*
* Needed for the type while mounting cgroupfs.
*/
-static const char cgroup_filesystem[] = "cgroup";
+#define CGROUP_FILESYSTEM "cgroup"
/*
* NOTE: All these functions return 1 on success
@@ -413,7 +413,7 @@ int cgroup_config_mount_fs(void)
return ECGOTHER;
}
- ret = mount(cgroup_filesystem, curr->path, cgroup_filesystem,
+ ret = mount(CGROUP_FILESYSTEM, curr->path, CGROUP_FILESYSTEM,
0, curr->name);
if (ret < 0)