diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-08 18:15:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-08 18:15:50 +0200 |
commit | 3905f12713df17195118d9caa321299d963ee315 (patch) | |
tree | 6665066944fc02697e9b3ca555fa9a27e11e089a /src/basic/cgroup-util.c | |
parent | da323858ef34a0216aa96f4089810053c90f09ce (diff) | |
download | systemd-3905f12713df17195118d9caa321299d963ee315.tar.gz |
cgroups: make sure the "devices" controller's enum is named the same way as the controller in the kernel
Follow-up to 5bf8002a3a6723ce50331c024122078552fb600a.
Diffstat (limited to 'src/basic/cgroup-util.c')
-rw-r--r-- | src/basic/cgroup-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c index f661a54d99..94a25585b2 100644 --- a/src/basic/cgroup-util.c +++ b/src/basic/cgroup-util.c @@ -2211,7 +2211,7 @@ static const char *cgroup_controller_table[_CGROUP_CONTROLLER_MAX] = { [CGROUP_CONTROLLER_CPUACCT] = "cpuacct", [CGROUP_CONTROLLER_BLKIO] = "blkio", [CGROUP_CONTROLLER_MEMORY] = "memory", - [CGROUP_CONTROLLER_DEVICE] = "devices", + [CGROUP_CONTROLLER_DEVICES] = "devices", }; DEFINE_STRING_TABLE_LOOKUP(cgroup_controller, CGroupController); |