summaryrefslogtreecommitdiff
path: root/src/core/swap.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/swap.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/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 0924b35050..ad1da6dddb 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -621,7 +621,7 @@ static void swap_dump(Unit *u, FILE *f, const char *prefix) {
exec_context_dump(&s->exec_context, f, prefix);
kill_context_dump(&s->kill_context, f, prefix);
- cgroup_context_dump(&s->cgroup_context, f, prefix);
+ cgroup_context_dump(UNIT(s), f, prefix);
}
static int swap_spawn(Swap *s, ExecCommand *c, pid_t *_pid) {