diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-05 13:49:43 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-19 16:51:14 +0200 |
commit | f4c43a8115d73c67cb04987f5ad34116aff9fbe2 (patch) | |
tree | 35a10620a19049de6bd8df3227d003b2c8d159a7 /src/core | |
parent | 8d5e5931463561e472d54e30396cacf67f1cbd3a (diff) | |
download | systemd-f4c43a8115d73c67cb04987f5ad34116aff9fbe2.tar.gz |
pid1: do not say "(null)" if no disabled controllers
It looks like we made a mistake. The list is just empty, that's all.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 9a1aec144e..c3f89d776b 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -279,7 +279,7 @@ void cgroup_context_dump(CGroupContext *c, FILE* f, const char *prefix) { prefix, c->memory_limit, prefix, c->tasks_max, prefix, cgroup_device_policy_to_string(c->device_policy), - prefix, strnull(disable_controllers_str), + prefix, strempty(disable_controllers_str), prefix, yes_no(c->delegate)); if (c->delegate) { |