core: wrap cgroup path with empty_to_root() in log messages
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 Aug 2021 18:14:41 +0000 (03:14 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 Aug 2021 18:14:46 +0000 (03:14 +0900)
commit6178e2f88956e1900f445908ed053865cc22e879
tree50bb75165e861ff11fcdbab2b7897a5c55f7445d
parent0cddb53c85588fbfb8043f622895c7bd15819198
core: wrap cgroup path with empty_to_root() in log messages

This fixes e.g. the following log message:
---
systemd[1]: -.slice: Failed to migrate controller cgroups from , ignoring: Read-only file system
---
src/core/bpf-devices.c
src/core/cgroup.c
src/core/unit.c