]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: drop a stray %m specifier from a warning message
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 15 Jul 2022 19:19:42 +0000 (21:19 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 15 Jul 2022 22:00:40 +0000 (07:00 +0900)
commite99b9285cb289115a64d775c768e6e831e39f12e
tree62400ed456648e46eb04b5de3641a2c2768f3e72
parent59159aee20037b444dc922849a5361db4c7f2600
core: drop a stray %m specifier from a warning message

since in this specific case (r == 0) `errno` is irrelevant and most likely
set to zero, leading up to a confusing message:

```
[  120.595085] H systemd[1]: session-5.scope: No PIDs left to attach to the scope's control group, refusing: Success
[  120.595144] H systemd[1]: session-5.scope: Failed with result 'resources'.
```
src/core/scope.c