]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/unit: clean up unit_log_resources 30417/head
authorMike Yuan <me@yhndnzj.com>
Sun, 10 Dec 2023 17:36:22 +0000 (01:36 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 13 Dec 2023 12:42:06 +0000 (20:42 +0800)
commit3e5b96eed3e87759b045066f2756a11fb286fdde
tree34c1fe1dffcfcceac986df3d69b2e2ba587d67af
parentb1b84bc59031816376cf82284a51bdf1c937bb92
core/unit: clean up unit_log_resources

* Use a unified struct to store accounting fields/suffixes
* Use strextendf_with_separator where appropriate
* Don't mix stack and heap allocation for one iovec array
src/core/unit.c