summaryrefslogtreecommitdiff
path: root/src/core/slice.c
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2019-10-03 13:21:29 +0100
committerChris Down <chris@chrisdown.name>2019-10-03 15:06:25 +0100
commitbc0623df160b2c12fc5d205699ec315859e3dc66 (patch)
tree9461a33780c770d3fa61c78005b8bbdb5f7243f3 /src/core/slice.c
parent6dfb92823f1801b9e4b82373ecb8b905f2c9aafb (diff)
downloadsystemd-bc0623df160b2c12fc5d205699ec315859e3dc66.tar.gz
cgroup: analyze: Report memory configurations that deviate from systemd
This is the most basic consumer of the new systemd-vs-kernel checker, both acting as a reasonable standalone exerciser of the code, and also as a way for easy inspection of deviations from systemd internal state.
Diffstat (limited to 'src/core/slice.c')
-rw-r--r--src/core/slice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/slice.c b/src/core/slice.c
index 489d5ace6a..c12328b3b7 100644
--- a/src/core/slice.c
+++ b/src/core/slice.c
@@ -215,7 +215,7 @@ static void slice_dump(Unit *u, FILE *f, const char *prefix) {
"%sSlice State: %s\n",
prefix, slice_state_to_string(t->state));
- cgroup_context_dump(&t->cgroup_context, f, prefix);
+ cgroup_context_dump(UNIT(t), f, prefix);
}
static int slice_start(Unit *u) {