summaryrefslogtreecommitdiff
path: root/src/core/swap.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-08-31 13:58:29 +0200
committerDaniel Mack <github@zonque.org>2015-08-31 13:58:29 +0200
commitd728d7faa6c60f185be72510d87bcc565bc0846a (patch)
tree4d2ed7404804998cbc10abf0419fac34719c57be /src/core/swap.c
parentabab50081c8c12cc46482a43264deb46853bb8fa (diff)
parentdcd719908229479b0b6ec14d6c1362eb82b1bbf3 (diff)
Merge pull request #1093 from poettering/unified-prepare
A variety of clean-ups
Diffstat (limited to 'src/core/swap.c')
-rw-r--r--src/core/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/swap.c b/src/core/swap.c
index 349fd6f7b9..4f3ddc9f04 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -326,7 +326,7 @@ static int swap_load(Unit *u) {
if (r < 0)
return r;
- r = unit_add_default_slice(u, &s->cgroup_context);
+ r = unit_set_default_slice(u);
if (r < 0)
return r;