core/cgroup: fix compile error
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 28 Nov 2023 04:02:02 +0000 (13:02 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 28 Nov 2023 09:35:52 +0000 (10:35 +0100)
commit14338cca996b3d2c361d679d5859389305ddc5b3
tree80767de2cbfe0431fadcf3d4552becaab1fe5409
parente521898d83e219bca842ad172b076609509fb8ca
core/cgroup: fix compile error

With gcc-13,
```
CFLAGS="-O3 -fno-semantic-interposition" meson setup build
```
triggers the following error:
```
../src/core/cgroup.c: In function ‘cgroup_context_dump’:
../src/core/cgroup.c:633:44: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  633 |                         "%sDeviceAllow: %s %s\n",
      |                                            ^~
cc1: some warnings being treated as errors
```

Fixes #30223.
src/core/cgroup.c