summaryrefslogtreecommitdiff
path: root/src/core/slice.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2017-09-05 19:27:53 +0200
committerLennart Poettering <lennart@poettering.net>2017-09-22 15:24:55 +0200
commit906c06f64a87cce5378191c092d10432543ea907 (patch)
tree48e13e6705e3e7841017c44d5ab48244430c2f31 /src/core/slice.c
parent1988a9d12015990c145a6e8515d5e22ef88b32cb (diff)
downloadsystemd-906c06f64a87cce5378191c092d10432543ea907.tar.gz
cgroup, unit, fragment parser: make use of new firewall functions
Diffstat (limited to 'src/core/slice.c')
-rw-r--r--src/core/slice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/slice.c b/src/core/slice.c
index ed5d3fd701..b15f751c82 100644
--- a/src/core/slice.c
+++ b/src/core/slice.c
@@ -222,7 +222,8 @@ static int slice_start(Unit *u) {
return r;
(void) unit_realize_cgroup(u);
- (void) unit_reset_cpu_usage(u);
+ (void) unit_reset_cpu_accounting(u);
+ (void) unit_reset_ip_accounting(u);
slice_set_state(t, SLICE_ACTIVE);
return 1;