summaryrefslogtreecommitdiff
path: root/src/swap.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-17 21:27:53 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-17 21:27:53 +0100
commitd686d8a97bd7945af0a61504392d01a3167b576f (patch)
tree76353a8e60d353e1f42b375c8493ffa5873068aa /src/swap.c
parent74fe1fe36e35a26d764f1e3119d5f6d014db573c (diff)
cgroup: by default, duplicate service cgroup in the cpu hierarchy
Diffstat (limited to 'src/swap.c')
-rw-r--r--src/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swap.c b/src/swap.c
index 6de79280c9..ec9f157b15 100644
--- a/src/swap.c
+++ b/src/swap.c
@@ -289,7 +289,7 @@ static int swap_load(Unit *u) {
if ((r = swap_add_target_links(s)) < 0)
return r;
- if ((r = unit_add_default_cgroup(u)) < 0)
+ if ((r = unit_add_default_cgroups(u)) < 0)
return r;
if (s->meta.default_dependencies)