a1bcaa075bba1139378d745569c99b985892f6ca
I'm not sure if I understand the original code. AFAICS, errno does not have to be set at all in this callback. ratelimit_test() returns positive if we are under limit. The code would only log if the condition happened very often, which I assume is not inteded, and this check was supposed to prevent too much logging.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
Languages
C
88.5%
Shell
5.7%
Python
4.6%
Meson
1.1%