pid1: do not say "(null)" if no disabled controllers

It looks like we made a mistake. The list is just empty, that's all.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-07-05 13:49:43 +02:00
parent 8d5e593146
commit f4c43a8115
1 changed files with 1 additions and 1 deletions

View File

@ -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) {